Skip to content

Commit

Permalink
Separated core dependencies from those needed for testing/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WardLT committed Jul 26, 2019
1 parent afbe1ce commit b93a3b2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ python:
- method: pip
path: .
- requirements: requirements.txt
- requirements: docs/requirements.txt
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ install:
- pip install -e .
- pip install coveralls flake8
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pip install -r example-requirements.txt
- pip install keras==$KERAS_VERSION
- pip list
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,5 @@
'python': ('https://docs.python.org/', None),
'globus_sdk': ('https://globus-sdk-python.readthedocs.io/en/stable/', None),
}

autodoc_mock_imports = ['torch', 'tensorflow', 'sklearn']
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx_rtd_theme>=0.4.2
nbsphinx
11 changes: 1 addition & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
globus-sdk>=1.7.0
h5py>=2.8.0
jsonpickle>=1.0
jsonschema>=3.0.0
keras>=2.2.0
nbsphinx
pandas>=0.22.0
requests>=2.20.0
scikit-learn>=0.19.1
scipy>=0.19.1
sphinx_rtd_theme>=0.4.2
tensorflow>=1.8.0
mdf_toolbox>=0.4.0
torch>=1.1.0
jsonschema>=3.0.0
7 changes: 7 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
h5py>=2.8.0
keras>=2.2.0
pandas>=0.22.0
scikit-learn>=0.19.1
scipy>=0.19.1
tensorflow>=1.8.0
torch>=1.1.0

0 comments on commit b93a3b2

Please sign in to comment.