Skip to content

Commit

Permalink
fix issues with migration from setuptools to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pswpswpsw committed Oct 30, 2023
1 parent 030d396 commit a3839d3
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
pip install -e .[dev]
# pip install -r requirements-dev.txt
- name: Test with pytest
run: |
py.test test
Expand Down
59 changes: 47 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
[build-system]
requires = [
"setuptools>=61.0",
"wheel"]
build-backend = "setuptools.build_meta"

[project]
dynamic = ["dependencies"]
name = "pykoopman"
version = "1.0.5"
authors = [
{ name="Shaowu Pan", email="[email protected]" },
{ name="Eurika Kaiser", email="[email protected]" },
{ name="Brian de Silva", email="[email protected]" },
{ name="J. Nathan Kutz", email="[email protected]" },
{ name="Steven L. Brunton", email="[email protected]" },
{ name = "Shaowu Pan", email = "[email protected]" },
{ name = "Eurika Kaiser", email = "[email protected]" },
{ name = "Brian de Silva", email = "[email protected]" },
{ name = "J. Nathan Kutz", email = "[email protected]" },
{ name = "Steven L. Brunton", email = "[email protected]" },
]
description = "Python package for data-driven approximations to the Koopman operator."
readme = "README.rst"
Expand All @@ -26,10 +20,51 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"matplotlib == 3.5.0",
"derivative",
"scikit-learn < 1.2",
"numpy",
"scipy",
"pydmd",
"optht",
"scipy",
"prettytable",
"torch",
"torchvision",
"lightning"
]

[project.optional-dependencies]
dev = [
"pytest-cov",
"pytest-lazy-fixture",
"flake8-builtins-unleashed",
"setuptools_scm",
"setuptools_scm_git_archive",
"jupyter",
"notebook",
"nbsphinx",
"sphinx-codeautolink",
"sphinx >= 2,<7.0.0",
"sphinxcontrib-apidoc",
"sphinx_rtd_theme",
"pre-commit",
"sphinx-nbexamples",
"jupyter_contrib_nbextensions",
"PyQt5",
"osqp",
]

[build-system]
requires = [
"setuptools>=61.0",
"wheel"]
build-backend = "setuptools.build_meta"

[project.urls]
"Homepage" = "https://github.com/dynamicslab/pykoopman"
"Bug Tracker" = "https://github.com/dynamicslab/pykoopman/issues"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
dependencies = { file = ["requirements.txt"] }

0 comments on commit a3839d3

Please sign in to comment.