From 38d9b46f59183a66bccd597f6bc9d5d2428302a8 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 13 Nov 2018 14:33:12 -0500 Subject: [PATCH] Explicitly install netCDF4 conda-forge/xarray-feedstock drops optional dependencies several days ago. Thus we need install netCDF4 explicitly. Fixes #238 --- environment.yml | 1 + requirements.txt | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index d0b54f25390..0f370bbc7b2 100644 --- a/environment.yml +++ b/environment.yml @@ -9,6 +9,7 @@ dependencies: - numpy - pandas - xarray + - netCDF4 - packaging - ipython - matplotlib diff --git a/requirements.txt b/requirements.txt index b3d12bc40b3..a5986cc4937 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ gmt=6.0.0* numpy pandas xarray +netCDF4 packaging # The following are required for development purposes ipython diff --git a/setup.py b/setup.py index 621529fcbde..e4dc8480394 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ "License :: OSI Approved :: {}".format(LICENSE), ] PLATFORMS = "Any" -INSTALL_REQUIRES = ["numpy", "pandas", "xarray", "packaging"] +INSTALL_REQUIRES = ["numpy", "pandas", "xarray", "netCDF4", "packaging"] if __name__ == "__main__": setup(