forked from arachnidlabs/cyflash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (24 loc) · 738 Bytes
/
setup.py
File metadata and controls
30 lines (24 loc) · 738 Bytes
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 = "nick@arachnidlabs.com",
url = "http://github.com/arachnidlabs/cyflash/",
install_requires = "pyserial",
include_package_data = True,
)