forked from barbarazimbres/seals_dev_BZ
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (39 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
43 lines (39 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[project]
name = "sealsmodel"
description = "Land-use change model and downscaler"
readme = "README.md"
requires-python = ">=3.6"
license = { file = "LICENSE" }
maintainers = [
{name = "Justin Andrew Johnson"}
]
keywords = ["geospatial", "raster", "shapefile"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
]
# Make sure 'dependencies' are correctly handled. If they aren't defined
# elsewhere (like setup.cfg or setup.py dynamically), list them here:
# dependencies = [ "numpy>1.0", "some_other_package" ]
dynamic = ["version", "dependencies"] # Keeping this assumes you handle deps elsewhere
[project.urls]
repository = "https://github.com/jandrewjohnson/seals_dev"
[build-system]
requires = [
"setuptools>=74.1", # Ensure your setuptools version supports this TOML config
"wheel",
"cython>3.0.0",
"setuptools_scm", # Added setuptools_scm here as it's used below
'oldest-supported-numpy; python_version<"3.8"',
'numpy>2; python_version>="3.8"',
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "node-and-date"
# Added section to control package discovery for flat layout
[tool.setuptools.packages.find]
where = ["."]
exclude = ["seals_tests*"]