forked from DT42/BerryNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (76 loc) · 2.35 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
import subprocess
from setuptools import setup
from setuptools import find_packages
setup(
name='berrynet',
version='v3.2.0',
description='BerryNet',
long_description=
'TBD',
url='https://github.com/DT42/BerryNet',
author='DT42 Inc.',
author_email='berrynet@dt42.io',
license='GPLv3',
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords=['wheels'],
packages=find_packages(exclude=['tests']),
install_requires=[
'logzero',
'opencv-python',
'paho-mqtt'
],
# Without TF: pip3 install berrynet
# TF CPU mode: pip3 install berrynet[tf]
# TF GPU mode: pip3 install berrynet[tf_gpu]
extra_require={
'tf': ['tensorflow>=1.2.1'],
'tf_gpu': ['tensorflow-gpu>=1.2.1']
},
python_requires='>=3', # recognized by pip >= 9.0.0
# The "Including Data Files" session
# https://setuptools.readthedocs.io/en/latest/setuptools.html
#
# Warning: package_data only looks for module's top level
#package_data={
#},
#data_files=[
# ('docs', ['docs/cheatsheet.txt', 'docs/references.txt']),
#],
#scripts=[
# 'bin/purescript.sh'
#],
# The "Automatic Script Creation" session
# https://setuptools.readthedocs.io/en/latest/setuptools.html
#
# http://python-packaging.readthedocs.io/en/latest/command-line-scripts.html
entry_points={
'console_scripts': [
'bn_camera=berrynet.client.camera:main',
'bn_dashboard=berrynet.client.dashboard:main',
'bn_data_collector=berrynet.client.data_collector:main',
]
},
#ext_modules=[
# Extension(
# 'hellowheels.lib.clib',
# [
# 'hellowheels/lib/clib.c',
# 'hellowheels/lib/ext.c'
# ]
# )
#],
#cmdclass={
# 'install': CustomInstallCommand
#},
test_suite='tests'
)