-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (90 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
100 lines (90 loc) · 2.04 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
98
99
100
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gdal-tiles-api"
description = "This API cuts out tiles from Cloud Optimized GeoTIFFs (COG) or other datasets using GDAL."
readme = "README.md"
keywords = [
"GDAL",
"tiles",
"COG",
"FastAPI",
]
license = {file = "LICENSE"}
authors = [
{name = "Jochen Klar", email = "mail@jochenklar.de"},
]
requires-python = ">=3.11"
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
dynamic = [
"version",
]
dependencies = [
"deepmerge>=2",
"fastapi[standard]",
"GDAL>=3",
"numpy>=2",
"pillow>=11",
]
[project.optional-dependencies]
dev = [
"build",
"pre-commit",
"pytest",
"ruff",
"twine",
]
[project.urls]
repository = "https://github.com/codeforberlin/gdal-tiles-api.git"
issues = "https://github.com/codeforberlin/gdal-tiles-api/issues"
[tool.setuptools_scm]
version_file = "gdal_tiles_api/_version.py"
[tool.setuptools.packages.find]
include = ["gdal_tiles_api*"]
[tool.setuptools.package-data]
"*" = ["*"]
[tool.ruff]
target-version = "py311"
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PGH", # pygrep-hooks
"RUF", # ruff
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"B006", # mutable-argument-default
"B007", # unused-loop-control-variable
"B018", # useless-expression
"RUF012", # mutable-class-default
]
[tool.ruff.isort]
known-first-party = [
"gdal_tiles_api"
]
section-order = [
"future",
"standard-library",
"pytest",
"fastapi",
"third-party",
"first-party",
"local-folder"
]
[tool.ruff.isort.sections]
pytest = ["pytest"]
fastapi = ["fastapi"]
[tool.pytest.ini_options]
testpaths = ["gdal_tiles_api/tests.py"]