Skip to content

Commit 50767d2

Browse files
committed
Cleanup extra pip (#334)
Remove pip box2d-py in - setup_linux.sh - setup_osx.sh - Dockerfile.ci
1 parent d4a784a commit 50767d2

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

docker/Dockerfile.ci

-4
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ RUN conda env create -f /root/code/garage/environment.yml && \
8585
# Extras
8686
# prevent pip from complaining about available upgrades
8787
RUN ["/bin/bash", "-c", "source activate garage && pip install --upgrade pip"]
88-
# Fix Box2D install
89-
# See https://github.com/openai/gym/issues/100
90-
# See https://github.com/pybox2d/pybox2d/issues/82
91-
RUN ["/bin/bash", "-c", "source activate garage && pip uninstall -y Box2D Box2D-kengz box2d-py && pip install Box2D"]
9288

9389
# Trigger Cython build of mujoco_py bindings
9490
# We need a MuJoCo key to import mujoco_py, but MAKE SURE TO DELETE IT AFTER SO

scripts/setup_linux.sh

-3
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@ conda activate garage
215215
pip install "tensorflow-gpu<1.10,>=1.9.0"
216216
fi
217217

218-
# box2d-py>=2.3.4 works on both Linux & OSX.
219-
pip install box2d-py
220-
221218
# We need a MuJoCo key to import mujoco_py
222219
cp ${_arg_mjkey} "${HOME}"/.mujoco/mjkey.txt
223220

scripts/setup_osx.sh

-3
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ conda activate garage
227227
# 'Install' garage as an editable package
228228
pip install -e .
229229

230-
# box2d-py>=2.3.4 works on both Linux & OSX.
231-
pip install box2d-py
232-
233230
# We need a MuJoCo key to import mujoco_py
234231
cp ${_arg_mjkey} "${HOME}"/.mujoco/mjkey.txt
235232

0 commit comments

Comments
 (0)