forked from autorope/donkeycar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
80 lines (65 loc) · 2.4 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
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.1.3',
description='Self driving library for python.',
url='https://github.com/wroscoe/donkey',
download_url='https://github.com/wroscoe/donkey/archive/2.1.2.1.tar.gz',
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',
'requests',
'keras',
'h5py',
],
extras_require={
'pi': [
'picamera',
'Adafruit_PCA9685',
]
},
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'])),
)