diff --git a/pyproject.toml b/pyproject.toml index 3375d7a..3879f29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,7 @@ requires = [ build-backend = "setuptools.build_meta" [project] +dynamic = ["dependencies"] name = "pykoopman" version = "1.0.5" authors = [ @@ -30,4 +31,5 @@ classifiers = [ "Homepage" = "https://github.com/dynamicslab/pykoopman" "Bug Tracker" = "https://github.com/dynamicslab/pykoopman/issues" -[tool.setuptools_scm] +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} diff --git a/requirements-dev.txt b/requirements-dev.txt index 40e5970..ddcd1f5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,5 @@ -e . -r requirements.txt --r requirements-torch.txt --extra-index-url https://download.pytorch.org/whl/cu118/ pytest pytest-cov pytest-lazy-fixture diff --git a/requirements.txt b/requirements.txt index 3461cb5..5152b59 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +-r requirements-torch.txt --extra-index-url https://download.pytorch.org/whl/cu118/ matplotlib == 3.5.0 derivative scikit-learn < 1.2