-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·83 lines (68 loc) · 2.15 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#! /usr/bin/env python
"""CypressFX package setuptools installer."""
import setuptools
###############################################################################
# arguments for the setup command
###############################################################################
name = 'CypressFX'
desc = 'Python module to program Cypress FX EZ-USB series chipsets'
long_desc = ''
version = '0.4'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Topic :: Software Development :: Embedded Systems',
'Topic :: System :: Boot',
'Topic :: System :: Hardware',
'Topic :: System :: Hardware :: Hardware Drivers',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Recovery Tools',
'Topic :: Utilities',
]
author = 'John Kelley'
author_email = 'john@kelley.ca'
url = 'https://github.com/John-K/CypressFX'
cp_license = 'BSD'
keywords = ['cypress', 'fx2', 'fxload', 'usb']
packages = ['CypressFX']
package_data = {'CypressFX' : ['*.hex']}
scripts = ['scripts/fxload.py']
install_requires = [
'pyusb',
'intelhex',
]
entry_points = {}
###############################################################################
# end arguments for setup
###############################################################################
setup_params = dict(
name=name,
description=desc,
version=version,
long_description=long_desc,
classifiers=classifiers,
author=author,
author_email=author_email,
url=url,
license=cp_license,
keywords=keywords,
packages=packages,
package_data=package_data,
scripts=scripts,
entry_points=entry_points,
include_package_data=True,
install_requires=install_requires,
python_requires='>=2.7,!=3.0.*',
)
def main():
"""Package installation entry point."""
setuptools.setup(**setup_params)
if __name__ == '__main__':
main()