Skip to content

Commit

Permalink
Merge pull request #119 from flow-project/updated_setup
Browse files Browse the repository at this point in the history
Updated setup
  • Loading branch information
AboudyKreidieh committed Sep 6, 2018
2 parents 153eee1 + 1a1fb25 commit b48ad14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ channels:
- soumith
dependencies:
- python==3.5.2
- numpy==1.13.3
- scipy==1.1.0
- path.py
- python-dateutil
Expand All @@ -25,6 +24,7 @@ dependencies:
- scikit-learn==0.19.1
- mpi4py==2.0.0
- pandas==0.23.4
- libgcc
- pip:
- Pillow==4.2.1
- pyprind==2.11.2
Expand All @@ -35,14 +35,13 @@ dependencies:
- tqdm==4.24.0
- msgpack-python==0.5.6
- cached_property==1.4.3
- line_profiler==2.1.2
- cloudpickle==0.5.3
- Cython==0.28.5
- redis==2.10.6
- keras==1.2.1
- git+https://github.com/Theano/Theano.git@adfe319ce6b781083d8dc3200fb4481b00853791#egg=Theano
- git+https://github.com/neocxi/Lasagne.git@484866cf8b38d878e92d521be445968531646bb8#egg=Lasagne
- git+https://github.com/plotly/plotly.py.git@2594076e29584ede2d09f2aa40a8a195b3f3fc66#egg=plotly
- plotly==3.2.0
- awscli==1.15.74
- gym==0.10.5
- pyglet==1.3.2
Expand All @@ -60,3 +59,4 @@ dependencies:
# RLLIB installs
- six==1.11.0
- redis==2.10.6
- numpy==1.14.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lxml==4.2.4
# theano==0.8.2 # for rllab
pyprind==2.11.2
# lasagne # for rllab
tensorflow==1.8.0
tensorflow==1.10.0
nose2==0.8.0
six==1.11.0
path.py
Expand Down
14 changes: 1 addition & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,7 @@ def _read_requirements_file():

class build_ext(_build_ext.build_ext):
def run(self):
try:
import tensorflow
except ImportError:
subprocess.check_call(['pip', 'install', 'tensorflow>=0.11.0'])

try:
import gym
except ImportError:
subprocess.check_call([
'pip', 'install', 'git+https://github.com/openai/gym.git@'
'93d554bdbb4b2d29ff1a685158dbde93b36e3801#egg=gym'
])

pass

class BinaryDistribution(Distribution):
def has_ext_modules(self):
Expand Down

0 comments on commit b48ad14

Please sign in to comment.