Skip to content

Commit

Permalink
migrate to meson 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Dec 6, 2023
1 parent 7ab4b49 commit 7574120
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 319 deletions.
20 changes: 18 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
[build-system]
build-backend = "mesonpy"
requires = ["meson-python", "numpy>1.11", "scipy>=1.5", "cython>=0.29,<3.0"]
requires = ["meson-python", "numpy>1.11", "scipy>=1.5", "cython>=0.29.35"]
# requires = [
# "meson-python>=0.15.0",
# "Cython>=0.29.35,!=3.0.3", # when updating version, also update check in meson.build
#
# # default numpy requirements
# "numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'",
# "numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
# "numpy>=1.26.0,<1.27; python_version=='3.12'",
#
# # PyPy requirements; 1.25.0 was the first version to have pypy-3.9 wheels,
# # and 1.25.0 also changed the C API target to 1.19.x, so no longer a need
# # for an exact pin.
# "numpy>=1.25.0; python_version>='3.9' and platform_python_implementation=='PyPy'",
#
# "scipy>=1.5",
# ]

[project]
name = "special_functions"
Expand All @@ -12,7 +28,7 @@ authors = [
]
description = "Cython and Python API for special functions."
keywords = ['special-functions', 'bessel-function', 'gamma-function']
requires-python = ">=3.9"
requires-python = ">=3.8"
platforms = ['Linux', 'OSX', 'Windows']
classifiers = [
'Programming Language :: Cython',
Expand Down
317 changes: 0 additions & 317 deletions setup.py

This file was deleted.

0 comments on commit 7574120

Please sign in to comment.