Skip to content

Commit

Permalink
Remove unused scipy dependency and add scikit-image (#259)
Browse files Browse the repository at this point in the history
* Remove unused scipy dependency and add scikit-image

* Set flexible channel priority on Windows CI

* Add scikit-image to conda dependencies on travis

* Add flexible channel priority workaround back for Windows travis CI
  • Loading branch information
djhoese committed Nov 19, 2019
1 parent 52800a1 commit b0d6122
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
- PYTHON_VERSION=$TRAVIS_PYTHON_VERSION
- NUMPY_VERSION=stable
- MAIN_CMD='python setup.py'
- CONDA_DEPENDENCIES='hdf5 rasterio matplotlib scipy numba pyproj coveralls pytest pytest-mock pytest-cov pytest-qt vispy pyopengl netcdf4 h5py imageio imageio-ffmpeg ffmpeg pillow pyshp pyqtgraph shapely sqlalchemy pyqt appdirs pyyaml satpy eccodes'
- CONDA_DEPENDENCIES='hdf5 rasterio matplotlib numba pyproj coveralls pytest pytest-mock pytest-cov pytest-qt vispy pyopengl netcdf4 h5py imageio imageio-ffmpeg ffmpeg pillow pyshp pyqtgraph shapely sqlalchemy pyqt appdirs pyyaml satpy eccodes scikit-image'
- PIP_DEPENDENCIES='pytest-xvfb'
- SETUP_XVFB=True
- EVENT_TYPE='push pull_request'
Expand All @@ -19,7 +19,10 @@ matrix:
- env: PYTHON_VERSION=3.7
os: osx
language: generic
- env: PYTHON_VERSION=3.7
- env:
- PYTHON_VERSION=3.7
# See https://github.com/conda-forge/scipy-feedstock/issues/120
- CONDA_CHANNEL_PRIORITY='flexible'
os: windows
language: shell
install:
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/uwsift/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ requirements:
- hdf5
- rasterio
- matplotlib
- scipy
- numba >=0.30
- pyproj >=1.9.4
- vispy >=0.6.0.dev1
Expand All @@ -55,6 +54,7 @@ requirements:
- pyyaml
- satpy >=0.10.0a0
- pygrib # [not win]
- scikit-image

test:
commands:
Expand Down
5 changes: 0 additions & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@
'sphinxcontrib.blockdiag',
]

# install_requires=['numpy', 'pillow', 'scipy', 'numba', 'vispy>=0.6.0',
# 'PyOpenGL', 'netCDF4', 'h5py', 'pyproj',
# 'pyshp', 'shapely', 'rasterio', 'goesr', 'sqlalchemy',
# 'goesr', 'appdirs', 'pyyaml', 'pyqtgraph', 'satpy',
# 'pygrib', 'imageio'
autodoc_mock_imports = [
'netCDF4', 'h5py', 'pyshp', 'shapely', 'rasterio', 'goesr',
'pyqtgraph', 'satpy', 'pygrib', 'imageio']
Expand Down
1 change: 0 additions & 1 deletion rtd_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ sphinxcontrib-seqdiag
sphinxcontrib-blockdiag
sphinx_rtd_theme
numpy
scipy
pillow
pyproj
sqlalchemy
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,11 @@ def run(self):
"Topic :: Scientific/Engineering"],
zip_safe=False,
include_package_data=True,
install_requires=['numpy', 'pillow', 'scipy', 'numba', 'vispy>=0.6.0',
install_requires=['numpy', 'pillow', 'numba', 'vispy>=0.6.0',
'PyOpenGL', 'netCDF4', 'h5py', 'pyproj',
'pyshp', 'shapely', 'rasterio', 'sqlalchemy',
'appdirs', 'pyyaml', 'pyqtgraph', 'satpy', 'matplotlib',
'scikit-image',
'pygrib;sys_platform=="linux" or sys_platform=="darwin"', 'imageio', 'pyqt5>=5.9'
],
python_requires='>=3.6',
Expand Down

0 comments on commit b0d6122

Please sign in to comment.