Skip to content

Commit 1c0a879

Browse files
committed
[ENH] Add conditional dependency to spm-runtime
1 parent 963dbe8 commit 1c0a879

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,31 @@ description = "Python bindings for the SPM software."
99
readme = "README.md"
1010
license = {file = "LICENSE"}
1111
authors = [
12-
{name = "Johan Medrano", email = "johan.medrano@ucl.ac.uk"},
13-
{name = "Yael Balbastre", email = "y.balbastre@ucl.ac.yk"},
12+
{name = "Johan Medrano", email = "johan.medrano@ucl.ac.uk"},
13+
{name = "Yael Balbastre", email = "y.balbastre@ucl.ac.uk"},
1414
{name = "Yulia Bezsudnova"},
15-
{name = "Arthur Mitchell"},
16-
{name = "Peter Zeidman"},
17-
{name = "Olivia Kowalczyk"} ]
18-
requires-python = ">=3.9,<3.13"
15+
{name = "Arthur Mitchell"},
16+
{name = "Peter Zeidman"},
17+
{name = "Olivia Kowalczyk"},
18+
]
19+
requires-python = ">=3.6,<3.13"
1920
classifiers = [
2021
"Development Status :: 4 - Beta",
2122
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
23+
"Programming Language :: Python :: 3.6",
24+
"Programming Language :: Python :: 3.7",
25+
"Programming Language :: Python :: 3.8",
2226
"Programming Language :: Python :: 3.9",
2327
"Programming Language :: Python :: 3.10",
2428
"Programming Language :: Python :: 3.11",
2529
"Programming Language :: Python :: 3.12",
2630
]
2731
dependencies = [
28-
"numpy",
29-
"mpython-core<=25.4a3"
32+
"mpython-core",
33+
"spm-runtime-R2025a; python_version>='3.9' and python_version<'3.13'",
34+
"spm-runtime-R2023a; python_version=='3.8'",
35+
"spm-runtime-R2021b; python_version=='3.7'",
36+
"spm-runtime-R2020b; python_version=='3.6'",
3037
]
3138

3239
[project.urls]

0 commit comments

Comments
 (0)