[Update setup.py] Support latest mujoco_py 2.0 (#1401)

* Update setup.py

* Update test.dockerfile.18.04

* Update test.dockerfile.16.04
This commit is contained in:
Xingdong Zuo
2019-03-24 01:15:33 +01:00
committed by pzhokhov
parent 5eacc50bf4
commit b219d36441
3 changed files with 12 additions and 5 deletions

View File

@@ -10,8 +10,8 @@ extras = {
'atari': ['atari_py>=0.1.4', 'Pillow', 'PyOpenGL'],
'box2d': ['box2d-py>=2.3.5'],
'classic_control': ['PyOpenGL'],
'mujoco': ['mujoco_py>=1.50, <2.0', 'imageio'],
'robotics': ['mujoco_py>=1.50', 'imageio'],
'mujoco': ['mujoco_py>=1.50, <2.1', 'imageio'],
'robotics': ['mujoco_py>=1.50, <2.1', 'imageio'],
}
# Meta dependency groups.

View File

@@ -36,12 +36,15 @@ RUN \
mkdir /root/.mujoco && \
cd /root/.mujoco && \
wget https://www.roboti.us/download/mjpro150_linux.zip && \
unzip mjpro150_linux.zip
unzip mjpro150_linux.zip && \
wget https://www.roboti.us/download/mujoco200_linux.zip && \
unzip mujoco200_linux.zip && \
mv mujoco200_linux mujoco200
ARG MUJOCO_KEY
ENV MUJOCO_KEY=$MUJOCO_KEY
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mjpro150/bin
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mujoco200/bin
RUN echo $MUJOCO_KEY | base64 --decode > /root/.mujoco/mjkey.txt
# install dependencies

View File

@@ -30,11 +30,15 @@ RUN \
mkdir /root/.mujoco && \
cd /root/.mujoco && \
wget https://www.roboti.us/download/mjpro150_linux.zip && \
unzip mjpro150_linux.zip
unzip mjpro150_linux.zip && \
wget https://www.roboti.us/download/mujoco200_linux.zip && \
unzip mujoco200_linux.zip && \
mv mujoco200_linux mujoco200
ARG MUJOCO_KEY
ENV MUJOCO_KEY=$MUJOCO_KEY
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mjpro150/bin
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mujoco200/bin
RUN echo $MUJOCO_KEY | base64 --decode > /root/.mujoco/mjkey.txt
# install dependencies