Skip to content

Commit

Permalink
Merge pull request #130 from flow-project/fixing_setup_py
Browse files Browse the repository at this point in the history
fixed env.yml and requirements.txt
  • Loading branch information
AboudyKreidieh committed Sep 8, 2018
2 parents 7bb3dc6 + 9af91f0 commit 09ee2d6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 65 deletions.
3 changes: 2 additions & 1 deletion docs/source/flow_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ The installation process for this library is as follows:

cd ~
git clone https://github.com/eugenevinitsky/ray.git
python ray/python/setup.py develop
cd ray/python/
python setup.py develop

If missing libraries cause errors, please also install additional
required libraries as specified at
Expand Down
63 changes: 11 additions & 52 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,21 @@
name: flow
channels:
- https://conda.anaconda.org/kne
# - https://conda.anaconda.org/tlatorre
- https://conda.anaconda.org/cjs14
- https://conda.anaconda.org/menpo
- jjhelmus
- soumith

dependencies:
- python==3.5.2
- numpy==1.14.0
- scipy==1.1.0
- lxml==4.2.4
- six==1.11.0
- path.py
- python-dateutil
- joblib==0.10.3
- mako==1.0.7
- ipywidgets==5.1.5
- numba==0.38.1
- flask==1.0.2
- pybox2d==2.3.1post2
- pygame==1.9.2a0
- h5py==2.8.0
- matplotlib==2.0.2
- opencv3=3.1.0
- scikit-learn==0.19.1
- mpi4py==2.0.0
- pandas==0.23.4
- libgcc
- python-dateutil==2.7.3
- tensorflow==1.10.0
- cloudpickle==0.5.3
- pip:
- Pillow==4.2.1
- gym==0.10.5
- pyprind==2.11.2
- boto3==1.7.73
- PyOpenGL==3.1.0
- nose2==0.8.0
- pyzmq==17.1.0
- tqdm==4.24.0
- msgpack-python==0.5.6
- cached_property==1.4.3
- cloudpickle==0.5.3
- Cython==0.28.5
- redis==2.10.6
- keras==1.2.1
- cached_property
- joblib==0.10.3
- git+https://github.com/Theano/Theano.git@adfe319ce6b781083d8dc3200fb4481b00853791#egg=Theano
- git+https://github.com/neocxi/Lasagne.git@484866cf8b38d878e92d521be445968531646bb8#egg=Lasagne
- plotly==3.2.0
- awscli==1.15.74
- gym==0.10.5
- pyglet==1.3.2
- git+https://github.com/neocxi/prettytensor.git
- jupyter==1.0.0
- progressbar2==3.38.0
- chainer==1.18.0
- tensorflow==1.10.0
- numpy-stl==2.2.0
- nibabel==2.1.0
- pylru==1.0.9
- hyperopt==0.1
- polling==0.3.0
- lxml==4.2.4
# RLLIB installs
- six==1.11.0
- redis==2.10.6
- numpy==1.14.0
- git+https://github.com/plotly/plotly.py.git@2594076e29584ede2d09f2aa40a8a195b3f3fc66#egg=plotly
9 changes: 5 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
gym==0.10.5
numpy==1.13.3
numpy==1.14.0
scipy==1.1.0
lxml==4.2.4
# theano==0.8.2 # for rllab
pyprind==2.11.2
# lasagne # for rllab
tensorflow==1.10.0
nose2==0.8.0
six==1.11.0
path.py
joblib==0.10.3
python-dateutil==2.7.3
cached_property
cloudpickle==0.5.3

# theano==0.8.2 # for rllab
# lasagne # for rllab
# tensorflow==1.8.0
8 changes: 0 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,15 @@ def _read_requirements_file():
return [line.strip() for line in f]


class build_ext(_build_ext.build_ext):
def run(self):
pass

class BinaryDistribution(Distribution):
def has_ext_modules(self):
return True


setup(
name='flow',
version=__version__,
distclass=BinaryDistribution,
cmdclass={"build_ext": build_ext},
packages=find_packages(),
install_requires=_read_requirements_file(),
# install_requires=['tensorflow'],
# dependency_links = ['git+ssh://github.com/openai/gym.git'],
zip_safe=False,
)

0 comments on commit 09ee2d6

Please sign in to comment.