From 6cd8cf69e7c271e960a7b1393ff0ffd18ecd399b Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Wed, 20 Oct 2021 14:20:23 -0300 Subject: [PATCH] Package requirements.txt and update the dependencies list (#261) Remove scipy as dependency: it's not being directly used. Add scikit-learn as a dependency because it's being used. Include requirements.txt on manifest.in, exclude some files like license_notice.py and .flake8. --- MANIFEST.in | 4 +++- doc/install.rst | 2 +- environment.yml | 2 +- requirements.txt | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 3eed9ae73..26e5ebe90 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,9 +4,11 @@ prune .github prune data prune doc prune paper +prune tutorials exclude .*.yml exclude .*rc -exclude requirements*.txt +exclude .flake8 +exclude license_notice.py exclude Makefile exclude .gitignore exclude .gitattributes diff --git a/doc/install.rst b/doc/install.rst index e963acf18..f4a3443d1 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -20,10 +20,10 @@ Dependencies ------------ * `numpy `__ -* `scipy `__ * `pandas `__ * `numba `__ * `xarray `__ +* `scikit-learn `__ * `pooch `__ * `verde `__ diff --git a/environment.yml b/environment.yml index b8b8209a7..805f8db3f 100644 --- a/environment.yml +++ b/environment.yml @@ -7,9 +7,9 @@ dependencies: - pip - setuptools_scm - numpy - - scipy - pandas - numba + - scikit-learn - pooch>=0.7.0 - verde>=1.5.0 - xarray diff --git a/requirements.txt b/requirements.txt index cba0c141a..5efe7d232 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ numpy -scipy pandas +scikit-learn numba pooch>=0.7.0 xarray