Skip to content

Commit ed55912

Browse files
committed
[Mnt] Add dep to spm-runtime + support more python versions + remove ctf package data
1 parent 3c7734f commit ed55912

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

pyproject.toml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,46 @@ description = "Python bindings for the SPM software."
99
readme = "README.md"
1010
license = {file = "LICENSE"}
1111
authors = [
12-
{name = "Johan Medrano", email = "[email protected]"},
13-
{name = "Yael Balbastre", email = "[email protected].yk"}]
14-
requires-python = ">=3.9,<3.13"
12+
{name = "Johan Medrano", email = "[email protected]"},
13+
{name = "Yael Balbastre", email = "[email protected].uk"}]
14+
requires-python = ">=3.6,<3.13"
1515
classifiers = [
1616
"Development Status :: 3 - Alpha",
1717
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
18+
"Programming Language :: Python :: 3.6",
19+
"Programming Language :: Python :: 3.7",
20+
"Programming Language :: Python :: 3.8",
1821
"Programming Language :: Python :: 3.9",
1922
"Programming Language :: Python :: 3.10",
2023
"Programming Language :: Python :: 3.11",
2124
"Programming Language :: Python :: 3.12",
2225
]
2326
dependencies = [
24-
"numpy",
25-
"mpython-core"
27+
"mpython-core",
28+
"spm-runtime-R2024b; python_version>='3.9' and python_version<'3.13'",
29+
"spm-runtime-R2023a; python_version=='3.8'",
30+
"spm-runtime-R2021b; python_version=='3.7'",
31+
"spm-runtime-R2020b; python_version=='3.6'",
2632
]
2733

34+
[project.optional-dependencies]
35+
latest = ["spm-runtime"]
36+
R2024b = ["spm-runtime-R2024b"]
37+
R2024a = ["spm-runtime-R2024a"]
38+
R2023b = ["spm-runtime-R2023b"]
39+
R2023a = ["spm-runtime-R2023a"]
40+
R2022b = ["spm-runtime-R2022b"]
41+
R2022a = ["spm-runtime-R2022a"]
42+
R2021b = ["spm-runtime-R2021b"]
43+
R2021a = ["spm-runtime-R2021a"]
44+
R2020b = ["spm-runtime-R2020b"]
45+
2846
[project.urls]
2947
Repository = "https://github.com/spm/spm-python"
3048

3149
[tool.setuptools.packages]
3250
find = {}
3351

34-
[tool.setuptools.package-data]
35-
spm = ["_spm/_spm.ctf"]
36-
3752
[tool.setuptools.dynamic]
3853
version = {attr = "spm._version.__version__"}
3954

0 commit comments

Comments
 (0)