Skip to content

Commit b534e3e

Browse files
authored
move remaining setup.py contents into pyproject.toml (PySDM, not yet in examples) (#1887)
1 parent 681003a commit b534e3e

3 files changed

Lines changed: 40 additions & 42 deletions

File tree

.github/actions/set-pip-path-and-cache-key/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ runs:
66
echo "pip_user_site=$(python -c "import sysconfig; print(sysconfig.get_path('purelib'))")" >> $GITHUB_ENV
77
hash_input_files="
88
pyproject.toml
9-
setup.py
109
examples/pyproject.toml
1110
examples/setup.py
1211
tests/devops_tests/requirements.txt

pyproject.toml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ readme = "README.md"
1919
keywords = ["physics-simulation", "monte-carlo-simulation", "gpu-computing",
2020
"atmospheric-modelling", "particle-system", "numba", "thrust",
2121
"nvrtc", "pint", "atmospheric-physics",
22-
]
22+
]
2323
license = "GPL-3.0-only"
2424
classifiers = [
2525
"Development Status :: 4 - Beta",
@@ -36,7 +36,45 @@ requires-python = ">= 3.8"
3636
authors = [
3737
{name = "https://github.com/open-atmos/PySDM/graphs/contributors", email = "sylwester.arabas@agh.edu.pl"}
3838
]
39-
dynamic = ["version", "dependencies", "optional-dependencies"]
39+
dynamic = ["version"]
40+
dependencies = [
41+
"ThrustRTC>=0.3.20",
42+
"CURandRTC>=0.1.2",
43+
"numba>=0.51.2",
44+
"scipy>=1.15.0",
45+
"numpy",
46+
"Pint",
47+
"chempy",
48+
"pyevtk",
49+
"pyparsing",
50+
]
51+
52+
[project.optional-dependencies]
53+
unit-tests = [
54+
"pytest",
55+
"pytest-timeout",
56+
"matplotlib!=3.9.1",
57+
]
58+
59+
nonunit-tests = [
60+
"pytest",
61+
"PySDM-examples",
62+
"PyPartMC",
63+
]
64+
65+
CI_version_pins = [
66+
"PyPartMC==2.0.7",
67+
"numba==0.60.0",
68+
"numpy==1.26.4",
69+
"scipy==1.15.0",
70+
"ThrustRTC==0.3.20",
71+
"CURandRTC==0.1.7",
72+
"Pint==0.24.4",
73+
"chempy==0.10.1",
74+
"pyevtk==1.7.0",
75+
"pyparsing==3.2.5",
76+
]
77+
4078
[project.urls]
4179
Tracker = "https://github.com/open-atmos/PySDM/issues"
4280
Documentation = "https://open-atmos.github.io/PySDM"

setup.py

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

0 commit comments

Comments
 (0)