-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try using NumPy 2.0 for build and shift over to pyproject.toml instal…
…lation with setuptools_sm for versioning
- Loading branch information
1 parent
efbc34b
commit b5ebd71
Showing
5 changed files
with
61 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
lintegrate.c | ||
_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,57 @@ | ||
[build-system] | ||
# Minimum requirements for the build system to execute. | ||
requires = ["setuptools >= 40.6.0", "cython", "wheel", "oldest-supported-numpy"] | ||
requires = [ | ||
"setuptools>=61", | ||
"setuptools_scm[toml]>=6.2", | ||
"cython>=3", | ||
"wheel", | ||
"numpy>=2.0.0rc1", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "lintegrate" | ||
authors = [{name = "Matthew Pitkin", email = "m@ttpitk.in"}] | ||
urls = {Homepage = "https://github.com/mattpitkin/lintegrate", Documentation = "https://lintegrate.readthedocs.io/"} | ||
description = "Python functions implementing numerical integration of functions in log-space." | ||
license = {text = "GPLv3"} | ||
readme = "README.md" | ||
classifiers = [ | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Natural Language :: English", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: C", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
|
||
dynamic = [ | ||
"version", | ||
] | ||
|
||
requires-python = ">=3.9, <4" | ||
dependencies = [ | ||
"numpy", | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"autodoc", | ||
"pydata-sphinx-theme", | ||
"sphinx >= 2.0", | ||
"sphinx-panels", | ||
"sphinxcontrib-napoleon", | ||
"sphinxext-remoteliteralinclude", | ||
] | ||
|
||
[tools.setuptools.packages.find] | ||
where = ["."] | ||
|
||
[tools.setuptools.package-data] | ||
lintegrate = ["*.pyx"] | ||
|
||
[tools.setuptools_scm] | ||
write_to = "lintegrate/_version.py" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters