Package only runtime code in wheels and set compatible dependency floors
This commit is contained in:
parent
af3ddfbb09
commit
facde64f09
1 changed files with 11 additions and 4 deletions
|
|
@ -21,9 +21,9 @@ classifiers = [
|
|||
]
|
||||
dynamic = ["version"]
|
||||
dependencies = [
|
||||
"numpy",
|
||||
"numpy>=1.26,<3",
|
||||
"scipy",
|
||||
"shapely>=2.0",
|
||||
"shapely>=2.0.7,<3",
|
||||
"rtree",
|
||||
"matplotlib",
|
||||
]
|
||||
|
|
@ -43,6 +43,11 @@ build-backend = "hatchling.build"
|
|||
|
||||
[tool.hatch.version]
|
||||
path = "inire/__init__.py"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["inire"]
|
||||
exclude = ["/inire/tests"]
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
".git",
|
||||
|
|
|
|||
Loading…
Reference in a new issue