forked from arachnidlabs/cyflash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 778 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
import re
from setuptools import setup
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('cyflash/bootload.py').read(),
re.M
).group(1)
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name="cyflash",
packages=["cyflash"],
entry_points={
"console_scripts": ['cyflash = cyflash.bootload:main']
},
version=version,
description="Tool for flashing data to Cypress PSoC devices via bootloader.",
long_description=long_descr,
author="Nick Johnson",
author_email="[email protected]",
url="http://github.com/arachnidlabs/cyflash/",
install_requires=["pyserial", "six>=1.10"],
extras_require={
'CANbus': ["python-can>=1.4"]
},
include_package_data=True,
)