Skip to content

Commit

Permalink
make scipy and matplotlib full dependencies (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst committed Jun 16, 2017
1 parent ebe2b84 commit bfbca37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ env:
- SETUP_CMD=""
- COVERALLS=false
- BUILD_CMD="pip install -v package/ && pip install testsuite/"
- CONDA_DEPENDENCIES="mmtf-python nose=1.3.7 mock six biopython networkx cython joblib nose-timer"
- CONDA_ALL_DEPENDENCIES="mmtf-python nose=1.3.7 mock six biopython networkx cython joblib nose-timer matplotlib netcdf4 scikit-learn scipy seaborn coveralls clustalw=2.1"
# Install griddataformats from PIP so that scipy is only installed in the full build (#1147)
- PIP_DEPENDENCIES='griddataformats'
- CONDA_DEPENDENCIES="mmtf-python nose=1.3.7 mock six biopython networkx cython joblib nose-timer matplotlib scipy griddataformats"
- CONDA_ALL_DEPENDENCIES="mmtf-python nose=1.3.7 mock six biopython networkx cython joblib nose-timer matplotlib netcdf4 scikit-learn scipy griddataformats seaborn coveralls clustalw=2.1"
- PIP_DEPENDENCIES=""
- CONDA_CHANNELS='biobuilds conda-forge'
- CONDA_CHANNEL_PRIORITY=True
- NUMPY_VERSION=stable
Expand Down
1 change: 1 addition & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Fixes
* Groups are hashable on python 3 (Issue #1397)

Changes
* scipy and matplotlib are now required dependencies (Issue #1159)


06/03/17 utkbansal, kain88-de, xiki-tempula, kaplajon, wouterboomsma,
Expand Down
9 changes: 5 additions & 4 deletions package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,12 @@ def dynamic_author_list():
classifiers=CLASSIFIERS,
cmdclass=cmdclass,
requires=['numpy (>=1.10.4)', 'biopython', 'mmtf (>=1.0.0)',
'networkx (>=1.0)', 'GridDataFormats (>=0.3.2)', 'joblib'],
'networkx (>=1.0)', 'GridDataFormats (>=0.3.2)', 'joblib',
'scipy', 'matplotlib (>=1.5.1)'],
# all standard requirements are available through PyPi and
# typically can be installed without difficulties through setuptools
setup_requires=[
'numpy>=1.9.3',
'numpy>=1.10.4',
],
install_requires=[
'numpy>=1.10.4',
Expand All @@ -508,6 +509,8 @@ def dynamic_author_list():
'six>=1.4.0',
'mmtf-python>=1.0.0',
'joblib',
'scipy',
'matplotlib>=1.5.1',
],
# extras can be difficult to install through setuptools and/or
# you might prefer to use the version available through your
Expand All @@ -516,8 +519,6 @@ def dynamic_author_list():
'AMBER': ['netCDF4>=1.0'], # for AMBER netcdf, also needs HDF5
# and netcdf-4
'analysis': [
'matplotlib>=1.5.1',
'scipy',
'seaborn', # for annotated heat map and nearest neighbor
# plotting in PSA
'sklearn', # For clustering and dimensionality reduction
Expand Down

0 comments on commit bfbca37

Please sign in to comment.