11[build-system ]
22requires = [
3- " hatchling>=1.8.0" ,
4- " hatch-vcs" ,
3+ " setuptools>=64" ,
4+ " wheel" ,
5+ " Cython>=3" ,
6+ " numpy>=2" ,
7+ " scipy>=1.1.0" ,
8+ " pentapy>=1.1.0,<2" ,
9+ " setuptools_scm[toml]>=7" ,
510]
6- build-backend = " hatchling.build "
11+ build-backend = " setuptools.build_meta "
712
813[project ]
914requires-python = " >=3.8"
1015name = " anaflow"
1116authors = [{name = " Sebastian Mueller" , email = " sebastian.mueller@ufz.de" }]
1217readme = " README.md"
13- license = " MIT"
18+ license = { text = " MIT License " }
1419dynamic = [" version" ]
1520description = " AnaFlow - analytical solutions for the groundwater-flow equation."
1621classifiers = [
1722 " Development Status :: 5 - Production/Stable" ,
1823 " Intended Audience :: Developers" ,
1924 " Intended Audience :: End Users/Desktop" ,
2025 " Intended Audience :: Science/Research" ,
21- " License :: OSI Approved :: MIT License" ,
2226 " Natural Language :: English" ,
2327 " Operating System :: MacOS" ,
2428 " Operating System :: MacOS :: MacOS X" ,
@@ -40,7 +44,7 @@ classifiers = [
4044 " Topic :: Utilities" ,
4145]
4246dependencies = [
43- " numpy>=1.14.5 " ,
47+ " numpy>=2 " ,
4448 " pentapy>=1.1.0,<2" ,
4549 " scipy>=1.1.0" ,
4650]
@@ -69,25 +73,18 @@ Tracker = "https://github.com/GeoStat-Framework/anaflow/issues"
6973Changelog = " https://github.com/GeoStat-Framework/anaflow/blob/main/CHANGELOG.md"
7074Conda-Forge = " https://anaconda.org/conda-forge/anaflow"
7175
72- [tool .hatch .version ]
73- source = " vcs"
74- fallback_version = " 0.0.0.dev0"
76+ [tool .setuptools ]
77+ package-dir = {"" = " src" }
7578
76- [tool .hatch . version . raw-options ]
77- local_scheme = " no-local-version "
79+ [tool .setuptools . packages . find ]
80+ where = [ " src " ]
7881
79- [tool .hatch .build .hooks .vcs ]
80- version-file = " src/anaflow/_version.py"
81- template = " __version__ = '{version}'"
82-
83- [tool .hatch .build .targets .sdist ]
84- include = [
85- " /src" ,
86- " /tests" ,
87- ]
82+ [tool .setuptools .package-data ]
83+ "anaflow.flow" = [" *.pyx" , " *.pxd" ]
8884
89- [tool .hatch .build .targets .wheel ]
90- packages = [" src/anaflow" ]
85+ [tool .setuptools_scm ]
86+ write_to = " src/anaflow/_version.py"
87+ write_to_template = " __version__ = '{version}'"
9188
9289[tool .isort ]
9390profile = " black"
0 commit comments