From 25c7a179c74165f9f7b097a216a7c478b91469d8 Mon Sep 17 00:00:00 2001 From: shaowu Date: Mon, 30 Oct 2023 13:05:23 -0400 Subject: [PATCH] fix issues with migration from setuptools to toml --- pyproject.toml | 4 +++- requirements-dev.txt | 1 - requirements.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) 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