Skip to content

Commit

Permalink
Fixing setup.py for jetson (#1135)
Browse files Browse the repository at this point in the history
* Remove albumentations from jetson setup and move pyyaml into the required section, so it also installs on RPi.

* Correct kivy/plotly install on jetson. There is no UI support on jetson nano, only on xavier, etc where we have JP 5.0.X.
  • Loading branch information
DocGarbanzo authored Jul 5, 2023
1 parent 1398eec commit 9f91ad1
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def package_files(directory, strip_leading):
long_description = fh.read()

setup(name='donkeycar',
version="5.0.dev2",
version="5.0.dev3",
long_description=long_description,
description='Self driving library for python.',
url='https://github.com/autorope/donkeycar',
Expand Down Expand Up @@ -53,7 +53,8 @@ def package_files(directory, strip_leading):
"pynmea2",
'pyserial',
"utm",
'pandas'
'pandas',
'pyyaml',
],
extras_require={
# if installing into a conda (i.e. miniforge) env on Pi we have to
Expand All @@ -71,27 +72,21 @@ def package_files(directory, strip_leading):
'adafruit-circuitpython-ssd1306',
'adafruit-circuitpython-rplidar',
'Jetson.GPIO',
'albumentations',
'matplotlib',
'kivy-jetson',
'pyyaml',
'plotly'
],
'nano': [
'Adafruit_PCA9685',
'adafruit-circuitpython-ssd1306',
'adafruit-circuitpython-rplidar',
'Jetson.GPIO',
'matplotlib',
'kivy',
'pyyaml',
'kivy-jetson',
'plotly'
],
'pc': [
'matplotlib',
'kivy',
'pandas',
'pyyaml',
'plotly',
'albumentations'
],
Expand Down Expand Up @@ -128,8 +123,8 @@ def package_files(directory, strip_leading):
'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',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='selfdriving cars donkeycar diyrobocars',
packages=find_packages(exclude=(['tests', 'docs', 'site', 'env'])),
Expand Down

0 comments on commit 9f91ad1

Please sign in to comment.