-
-
Notifications
You must be signed in to change notification settings - Fork 431
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (81 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
97 lines (81 loc) · 2.61 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[project]
name = "geoai-py"
version = "0.37.2"
dynamic = [
"dependencies",
]
description = "A Python package for using Artificial Intelligence (AI) with geospatial data"
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"geoai",
]
license = {text = "MIT License"}
authors = [
{name = "Qiusheng Wu", email = "giswqs@gmail.com"},
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.entry-points."console_scripts"]
geoai = "geoai.cli:main"
[tool]
[tool.setuptools.packages.find]
include = ["geoai*"]
exclude = ["docs*"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.optional-dependencies]
extra = ["overturemaps", "torchange", "lightly-train", "multiclean", "omnicloudmask", "omniwatermask", "smoothify", "geodeep"]
building = ["buildingregulariser"]
agents = ["strands-agents", "strands-agents-tools", "strands-agents[ollama]", "strands-agents[anthropic]", "strands-agents[openai]"]
onnx = ["onnx>=1.21.0", "onnxruntime"]
sr = ["opensr-model"]
geodeep = ["geodeep"]
geodeep-gpu = ["geodeep", "onnxruntime-gpu"]
rfdetr = ["rfdetr"]
[tool.uv]
# geodeep hard-depends on onnxruntime (CPU), which shadows onnxruntime-gpu
# when both are installed. This override prevents the CPU-only onnxruntime
# from being installed, letting onnxruntime-gpu (which provides the same
# Python module with CUDA support) be used instead.
# See: https://github.com/uav4geo/GeoDeep/issues/7
override-dependencies = ["onnxruntime ; sys_platform == 'never'"]
# Enforce minimum versions for transitive dependencies to resolve
# Dependabot security alerts (aiohttp, requests, cryptography).
constraint-dependencies = [
"aiohttp>=3.13.4",
"requests>=2.33.0",
"cryptography>=46.0.6",
]
[tool.distutils.bdist_wheel]
universal = true
[tool.bumpversion]
current_version = "0.37.2"
commit = true
tag = true
tag_name = "v{new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "geoai/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[tool.flake8]
exclude = [
"docs",
]
max-line-length = 88
[project.urls]
Homepage = "https://github.com/opengeos/geoai"
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"