-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 867 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python3
from distutils.core import setup
def read(path: str) -> str:
with open(path) as f:
return f.read()
def read_lines(path: str):
with open(path) as f:
return f.readlines()
setup(
name="serial-connector",
version="0.0.1",
author="Dmytro Prykhodko",
author_email="[email protected]",
packages=["serial_connector"],
keywords=["serial", "debug", "communication"],
download_url="https://github.com/edpryk/serial-connector",
package_dir={"": "src"},
description="Communicate with a serial port",
license="MIT",
url="https://github.com/edpryk/serial-connector",
entry_points = {
"console_scripts": [
"serial_connector=serial_connector.main:main"
]
},
long_description=read("README.md"),
requires=read_lines("requirements.txt") ,
)