Skip to content

Commit f44f290

Browse files
author
Max Jones
authored
Separate DeepSD and analysis dependencies from install requirements (#267)
1 parent 81c73b3 commit f44f290

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements.txt

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ regionmask
1717
scikit-downscale >= 0.1.2
1818
scikit-learn
1919
scipy
20-
tensorflow
21-
tensorflow-io
2220
universal-pathlib >= 0.0.12
2321
xarray >= 2022.3.0
2422
xarray-datatree == 0.0.6

setup.py

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
include_package_data=True,
2828
python_requires=PYTHON_REQUIRES,
2929
install_requires=INSTALL_REQUIRES,
30+
extras_require={
31+
"deepsd": ["tensorflow", "tensorflow-io"],
32+
"analysis": ["cartopy", "seaborn", "carbonplan[styles]"],
33+
},
3034
license="MIT",
3135
keywords="carbon, data, climate",
3236
use_scm_version={"version_scheme": "post-release", "local_scheme": "dirty-tag"},

0 commit comments

Comments
 (0)