forked from autorope/donkeycar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
121 lines (113 loc) · 3.64 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import os
from setuptools import find_packages, setup
# 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)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='donkeycar',
version="4.4.3-main",
long_description=long_description,
description='Self driving library for python.',
url='https://github.com/autorope/donkeycar',
author='Will Roscoe, Adam Conway, Tawn Kramer',
license='MIT',
entry_points={
'console_scripts': [
'donkey=donkeycar.management.base:execute_from_command_line',
],
},
install_requires=[
'numpy',
'pillow',
'docopt',
'tornado',
'requests',
'h5py',
'PrettyTable',
'paho-mqtt',
"simple_pid",
'progress',
'typing_extensions',
'pyfiglet',
'psutil',
"pynmea2",
'pyserial',
"utm",
],
extras_require={
'pi': [
'picamera',
'Adafruit_PCA9685',
'adafruit-circuitpython-lis3dh',
'adafruit-circuitpython-ssd1306',
'adafruit-circuitpython-rplidar',
'RPi.GPIO',
'imgaug'
],
'nano': [
'Adafruit_PCA9685',
'adafruit-circuitpython-lis3dh',
'adafruit-circuitpython-ssd1306',
'adafruit-circuitpython-rplidar',
'Jetson.GPIO',
],
'pc': [
'matplotlib',
'kivy',
'protobuf==3.20.3',
'pandas',
'pyyaml',
'plotly',
'imgaug'
],
'dev': [
'pytest',
'pytest-cov',
'responses',
'mypy'
],
'ci': ['codecov'],
'tf': ['tensorflow==2.2.0'],
'torch': [
'pytorch',
'torchvision==0.12',
'torchaudio',
'fastai'
],
'mm1': ['pyserial']
},
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 :: 4 - Beta',
# 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.6',
'Programming Language :: Python :: 3.7',
],
keywords='selfdriving cars donkeycar diyrobocars',
packages=find_packages(exclude=(['tests', 'docs', 'site', 'env'])),
)