-
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.
Merge pull request #44 from ocefpaf/fix_package
Fix package metadata
- Loading branch information
Showing
2 changed files
with
8 additions
and
16 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
requires = [ | ||
"setuptools>=41.2", | ||
"setuptools-scm", | ||
"cython", | ||
"cython>=3", | ||
"oldest-supported-numpy ; python_version < '3.9'", | ||
"numpy>=2.0.0rc1 ; python_version >= '3.9'", | ||
"wheel", | ||
|
@@ -11,16 +11,16 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "ciso" | ||
dynamic = ["version", "readme"] | ||
dynamic = ["version"] | ||
description = "Create isosurfaces from 2D or 3D arrays" | ||
readme = "README.md" | ||
authors = [ | ||
{email = "[email protected]"}, | ||
{name = "Robert Hetland"} | ||
] | ||
requires-python = ">=3.9" | ||
license = {text = "BSD-2-Clause"} | ||
dependencies = [ | ||
"cython>=3", | ||
"oldest-supported-numpy ; python_version < '3.9'", | ||
"numpy>=2.0.0rc1 ; python_version >= '3.9'", | ||
] | ||
|
@@ -43,8 +43,10 @@ zip-safe = true | |
platforms = ["any"] | ||
packages = ["ciso"] | ||
|
||
[tool.setuptools.dynamic.readme] | ||
file = ["README.md"] | ||
[tool.setuptools_scm] | ||
write_to = "ciso/_version.py" | ||
write_to_template = "__version__ = '{version}'" | ||
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$" | ||
|
||
[tool.pytest.ini_options] | ||
filterwarnings = [ | ||
|
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