-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (51 loc) · 1.45 KB
/
pyproject.toml
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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
[project]
name = "geospatial-wheels-index"
version = "0.1.0"
description = "A PEP503 compliant package index for cgohlke/geospatial-wheels Windows GIS wheel files"
readme = "README.md"
authors = [
{ name = "Nathan McDougall", email = "[email protected]" },
]
requires-python = ">=3.13"
classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.13" ]
dependencies = [
"gdal>=3.10.1",
"httpx>=0.28.1",
]
[dependency-groups]
dev = [
"pyproject-fmt>=2.5.1",
"ruff>=0.9.8",
]
test = [
"pytest>=8.3.4",
]
[tool.ruff]
line-length = 88
src = [ "src" ]
lint.select = [ "A", "ANN", "C4", "E4", "E7", "E9", "EM", "F", "FURB", "I", "PLE", "PLR", "PT", "RUF", "SIM", "UP" ]
lint.ignore = [ "PLR2004", "SIM108" ]
[tool.pyproject-fmt]
keep_full_version = true
[tool.pytest.ini_options]
testpaths = [ "tests" ]
addopts = [ "--import-mode=importlib" ]
filterwarnings = [ "error" ]
[tool.uv]
default-groups = [ "test", "dev" ]
[tool.uv.sources]
gdal = [
{ index = "gdal-wheels", marker = "sys_platform == 'linux'" },
{ index = "geospatial_wheels", marker = "sys_platform == 'win32'" },
]
[[tool.uv.index]]
name = "geospatial_wheels"
url = "https://nathanjmcdougall.github.io/geospatial-wheels-index/"
explicit = true
[[tool.uv.index]]
name = "gdal-wheels"
url = "https://gitlab.com/api/v4/projects/61637378/packages/pypi/simple"
explicit = true