Skip to content

Commit

Permalink
add swig setup dependency and remove unrar/swig from github scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cpnota committed Mar 7, 2024
1 parent a12a828 commit da09536
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install swig
sudo apt-get install unrar
python -m pip install --upgrade pip
pip install torch~=2.0 --extra-index-url https://download.pytorch.org/whl/cpu
make install
- name: Lint code
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get install swig
sudo apt-get install unrar
pip install torch~=2.0 --extra-index-url https://download.pytorch.org/whl/cpu
pip install setuptools wheel
make install
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@
"all-watch-pybullet=all.scripts.watch_pybullet:main",
],
},
setup_requires=["swig~=4.0"],
install_requires=[
f"gymnasium~={GYMNASIUM_VERSION}", # common environment interface
"numpy~=1.22", # math library
"matplotlib~=3.7", # plotting library
"opencv-python-headless~=4.0", # used by atari wrappers
"torch~=2.0", # core deep learning library
"torch~=2.2", # core deep learning library
"tensorboard~=2.8", # logging and visualization
"cloudpickle~=2.0", # used to copy environments
],
Expand Down

0 comments on commit da09536

Please sign in to comment.