-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
79 lines (73 loc) · 2.79 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
# from Cython.Build import cythonize
import sys
from setuptools import setup, find_packages
sys.path.insert(0, 'src/')
# run with
# python setup.py build_ext --inplace
with open("README.md", "r") as fh: # ignore non encodable characters (remove them)
long_description = fh.read()
setup(
name="l2race", # Replace with your own username
version="2.0.1",
author="Tobi Delbruck, Marcin Paluch, Antonio Rios",
description="L2RACE challenge for Telluride Neuromorphic workshop",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/neuromorphs/l2race",
packages=find_packages(),
# scripts=['client.py','server.py'],
entry_points={
'console_scripts': ['l2race-client=src.client:main', 'l2race-server=src.server:main']
},
install_requires=[
'svgpathtools',
'pygame==2.0.1',
'matplotlib',
'numpy==1.19.2',
'argparse',
'argcomplete',
'opencv-python',
# numba # not using now
# 'cython', # cython needs to be compiled using setup.py
'scikit-learn>=0.24.2',
'scipy',
# 'scikit-learn-extras',
'upnpy',
'pandas',
'geos', # needed since shapely does not install geos_c.dll needed, solved by conda install geos
'shapely',
'tensorflow>=2.5',
'typing-extensions>=3.7.4',
# 'pysindy',
'torch', # go to https://pytorch.org/get-started/locally/ for correct pip or conda command generator
'IPython',
'cvxpy',
'easygui',
'numpy-ringbuffer',
# 'kivy', # UI using https://kivy.org/doc/stable/api-kivy.app.html#creating-an-application
# 'reloading'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: CC License",
"Operating System :: OS Independent",
],
python_requires='>=3.8',
# ext_modules = cythonize([
# "commonroad/vehicleDynamics_MB.pyx",
# "commonroad/vehicleDynamics_ST.pyx",
# "commonroad/tireModel.pyx",
# # "commonroad/longitudinalParameters.py",
# "commonroad/accelerationConstraints.pyx",
# "commonroad/steeringConstraints.pyx",
# # "commonroad/tireParameters.py",
# # "commonroad/vehicleParameters.py",
# # "commonroad/steeringParameters.py",
# "commonroad/unitConversions/unitConversion.pyx",
# # "commonroad/parameters_vehicle1.py",
# # "commonroad/parameters_vehicle2.py",
# # "commonroad/parameters_vehicle3.py",
# ], compiler_directives={'language_level' : "3"})
)
# needs to be run on server after touching any of the pyx files with "python setup.py build_ext --inplace"