Skip to content

Commit

Permalink
MNT: Remove build-time dependency on numpy, drop beta runtime dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 19, 2024
1 parent 15ca3a5 commit e25c299
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
[build-system]
requires = [
"setuptools",
# Numpy 1.25 allows back-compiling and supports 3.9
"numpy>=1.25; python_version >= '3.9'",
# Last version to support 3.6-3.8
"numpy==1.19; python_version > '3.0' and python_version < '3.9'",
# Last version to support 2.7
"numpy==1.16; python_version < '3.0'",
]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.bumpver]
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ packages = find:
install_requires =
nibabel >= 3.2.1; python_version >= '3.0'
nibabel >= 2.0; python_version < '3.0'
numpy>=1.26.0b1; python_version > '3.11'
numpy; python_version <= '3.11'
numpy
scipy

[options.package_data]
Expand Down

0 comments on commit e25c299

Please sign in to comment.