Skip to content

Commit 56750b5

Browse files
committed
big stuff
1 parent 4af0ffc commit 56750b5

File tree

7 files changed

+89
-110
lines changed

7 files changed

+89
-110
lines changed

.github/workflows/deploy_after_push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up Python
18-
uses: actions/setup-python@v4.5.0
18+
uses: actions/setup-python@v5.1.1
1919
- name: Set Dynamic Matrix
2020
id: setmatrix
2121
run: |
@@ -43,13 +43,13 @@ jobs:
4343
matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}
4444

4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4.1.7
4747
- name: Set up Python
48-
uses: actions/setup-python@v4.5.0
48+
uses: actions/setup-python@v5.1.1
4949
with:
5050
python-version: ${{ matrix.python-version }}
5151
cache: 'pip'
52-
cache-dependency-path: setup.py
52+
cache-dependency-path: pyproject.toml
5353
- name: Install Python dependencies
5454
run: |
5555
pip install --upgrade pip

.github/workflows/deploy_after_tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up Python
18-
uses: actions/setup-python@v4.5.0
18+
uses: actions/setup-python@v5.1.1
1919
- name: Set Dynamic Matrix
2020
id: setmatrix
2121
run: |
@@ -55,9 +55,9 @@ jobs:
5555
strategy:
5656
matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}
5757
steps:
58-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v4.1.7
5959
- name: Set up Python
60-
uses: actions/setup-python@v4.5.0
60+
uses: actions/setup-python@v5.1.1
6161
with:
6262
python-version: ${{ matrix.python-version }}
6363
- name: Install build

.github/workflows/export_tutorials.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
env:
1515
TUTORIAL_TIMEOUT: 1200s
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4.1.7
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4.5.0
20+
uses: actions/setup-python@v5.1.1
2121
with:
2222
python-version: 3.8
2323

.github/workflows/monthly-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
python-version: ["3.7", "3.8", "3.9", "3.10"]
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4.1.7
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4.5.0
20+
uses: actions/setup-python@v5.1.1
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

.github/workflows/testing_pr.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
matrix_tutorial_test: ${{ steps.setmatrix.outputs.matrix2 }}
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4.1.7
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v4.5.0
19+
uses: actions/setup-python@v5.1.1
2020

2121
- name: Set Dynamic Matrix
2222
id: setmatrix
@@ -43,7 +43,7 @@ jobs:
4343
black: ######################################################################################
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4.1.7
4747
- name: Install black
4848
run: |
4949
pip install black[jupyter]==24.2.0
@@ -67,7 +67,7 @@ jobs:
6767
sort_dependencies: ##########################################################################
6868
runs-on: ubuntu-latest
6969
steps:
70-
- uses: actions/checkout@v3
70+
- uses: actions/checkout@v4.1.7
7171
- name: Install isort
7272
run: |
7373
pip install isort
@@ -89,13 +89,13 @@ jobs:
8989
fail-fast: false
9090

9191
steps:
92-
- uses: actions/checkout@v3
92+
- uses: actions/checkout@v4.1.7
9393
- name: Set up Python
94-
uses: actions/setup-python@v4.5.0
94+
uses: actions/setup-python@v5.1.1
9595
with:
9696
python-version: ${{ matrix.python-version }}
9797
cache: 'pip'
98-
cache-dependency-path: setup.py
98+
cache-dependency-path: pyproject.toml
9999
- name: Install Python dependencies
100100
run: |
101101
pip install --upgrade pip
@@ -114,14 +114,14 @@ jobs:
114114
TUTORIAL_TIMEOUT: 1200s
115115

116116
steps:
117-
- uses: actions/checkout@v3
117+
- uses: actions/checkout@v4.1.7
118118

119119
- name: Set up Python
120-
uses: actions/setup-python@v4.5.0
120+
uses: actions/setup-python@v5.1.1
121121
with:
122122
python-version: ${{ matrix.python-version }}
123123
cache: 'pip'
124-
cache-dependency-path: setup.py
124+
cache-dependency-path: pyproject.toml
125125

126126
- name: Install dependencies
127127
run: |

pyproject.toml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,71 @@
1+
[project]
2+
name = "PyDMD"
3+
dynamic = ["version"]
4+
description = "Python Dynamic Mode Decomposition."
5+
requires-python = ">=3.8"
6+
dependencies = [
7+
"numpy<2",
8+
"scipy>=1.6.0",
9+
"matplotlib",
10+
"scikit-learn",
11+
"xarray",
12+
"h5netcdf",
13+
]
14+
readme = "README.md"
15+
license = {file = "LICENSE"}
16+
keywords = ["dynamic-mode-decomposition", "dmd"]
17+
classifiers=[
18+
"Development Status :: 5 - Production/Stable",
19+
"License :: OSI Approved :: MIT License",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Intended Audience :: Science/Research",
27+
"Topic :: Scientific/Engineering :: Mathematics",
28+
]
29+
authors = [
30+
{name = "Nicola Demo"},
31+
{name = "Marco Tezzele"},
32+
{name = "Francesco Andreuzzi"},
33+
{name = "Sara Ichinaga"},
34+
{name = "Karl Lapo"},
35+
]
36+
maintainers = [
37+
{email = "[email protected]"}
38+
]
39+
40+
[project.optional-dependencies]
41+
test = [
42+
"pytest",
43+
"pytest-cov",
44+
"pytest-mock",
45+
"ezyrb>=v1.2.1.post2205"
46+
]
47+
docs = [
48+
"sphinx>=1.4",
49+
"sphinx_rtd_theme"
50+
]
51+
52+
[project.urls]
53+
Homepage = "https://pydmd.github.io/PyDMD"
54+
Documentation = "https://pydmd.github.io/PyDMD/code.html"
55+
Issues = "https://github.com/PyDMD/PyDMD/issues"
56+
Repository = "https://github.com/PyDMD/PyDMD"
57+
58+
[build-system]
59+
requires = [ "setuptools>=41", "wheel", "setuptools-git-versioning>=2.0,<3", ]
60+
build-backend = "setuptools.build_meta"
61+
62+
[tool.setuptools-git-versioning]
63+
enabled = true
64+
template = "{tag}"
65+
66+
[tool.setuptools.packages.find]
67+
include = ["pydmd*"]
68+
169
[tool.black]
270
line-length = 80
371

setup.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)