Skip to content

Commit

Permalink
Add matplotlib and scipy requirements.
Browse files Browse the repository at this point in the history
 - matplotlib is added or else ImportError: matplotlib is required for plotting when the default backend matplotlib is selected.

 - scipy is added or else ValueError: cannot read or write netCDF files without netCDF4-python or scipy installed
  • Loading branch information
iamsaswata committed Jun 8, 2020
1 parent 0cf27a8 commit 7ec7f07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
certifi==2019.11.28
matplotlib==3.1.3
numpy==1.18.1
pandas==0.25.3
python-dateutil==2.8.1
pytz==2019.3
scipy==1.4.1
six==1.14.0
xarray==0.14.1
pytest
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ def readme():

keywords='imd, India, rainfall, IMD, grid, grided, gridded',
# packages=['':'cct_nn'],
install_requires=['numpy',
install_requires=['matplotlib',
'numpy',
'pandas',
'six',
'pandas',
'python-dateutil',
'pytz',
'requests',
'scipy',
'xarray', ]
)

0 comments on commit 7ec7f07

Please sign in to comment.