Browse Source

use pip for gym

saleml 2 years ago
parent
commit
8236a5a46f
3 changed files with 4 additions and 5 deletions
  1. 0 1
      .travis.yml
  2. 2 2
      README.md
  3. 2 2
      setup.py

+ 0 - 1
.travis.yml

@@ -5,7 +5,6 @@ python:
 # command to install dependencies
 install:
   - pip3 install -e .
-  - pip3 install git+https://github.com/openai/gym.git@0.25.0
 
 # command to run tests
 script: ./run_tests.py

+ 2 - 2
README.md

@@ -10,8 +10,8 @@ laptop, which means you can run your experiments faster. A known-working RL
 implementation can be found [in this repository](https://github.com/lcswillems/torch-rl).
 
 Requirements:
-- Python 3.5+
-- OpenAI Gym
+- Python 3.7+
+- OpenAI Gym 0.25+
 - NumPy
 - Matplotlib (optional, only needed for display)
 

+ 2 - 2
setup.py

@@ -24,8 +24,8 @@ setup(
     python_requires=">=3.7, <3.11",
     long_description_content_type="text/markdown",
     install_requires=[
-        'gym @ git+https://github.com/openai/gym.git@0.25.0',
-        "numpy>=1.18.0"
+        "numpy>=1.18.0",
+        'gym>=0.25.0'
     ],
     classifiers=[
     "Development Status :: 5 - Production/Stable",