forked from autorope/donkeycar
-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
91 lines (76 loc) · 2.74 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
84
85
86
87
88
89
90
91
from setuptools import setup, find_packages
import os
#include the non python files
def package_files(directory, strip_leading):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
package_file = os.path.join(path, filename)
paths.append(package_file[len(strip_leading):])
return paths
car_templates=['templates/*']
web_controller_html = package_files('donkeycar/parts/controllers/templates', 'donkeycar/')
extra_files = car_templates + web_controller_html
print('extra_files', extra_files)
setup(name='donkeycar',
version='2.6.0.t',
description='Self driving library for python.',
url='https://github.com/tawnkramer/donkey',
author='Will Roscoe',
author_email='[email protected]',
license='MIT',
entry_points={
'console_scripts': [
'donkey=donkeycar.management.base:execute_from_command_line',
],
},
install_requires=['numpy',
'pillow',
'docopt',
'tornado==4.5.2',
'requests',
'keras',
'h5py',
'python-socketio',
'flask',
'eventlet',
'moviepy',
'pandas',
'PrettyTable',
'paho-mqtt'
],
extras_require={
'pi': [
'picamera',
'Adafruit_PCA9685',
'RPi.GPIO'
],
'pc': [
'matplotlib',
'scikit-learn',
]
},
package_data={
'donkeycar': extra_files,
},
include_package_data=True,
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='selfdriving cars drive',
packages=find_packages(exclude=(['tests', 'docs', 'site', 'env'])),
)