Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (73 loc) · 2.12 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (73 loc) · 2.12 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "dem-handler"
requires-python = ">=3.8"
authors = [
{name="Geoscience Australia", email="DigitalEarthAntarctica@ga.gov.au"},
]
description = "DEM handling utility"
classifiers=[
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"boto3>=1.37.1",
"requests>=2.32.3",
"aioboto3>=15.5.0,<16",
"multiprocess",
"pooch>=1.9.0,<2",
"tqdm>=4.70.0,<5",
]
[project.urls]
Homepage = "https://github.com/GeoscienceAustralia/dem-handler.git"
# Documentation = "XXX"
#[project.scripts]
[tool.setuptools_scm]
version_file = "dem_handler/_version.py"
[tool.pytest.ini_options]
testpaths = ["tests/*"]
filterwarnings = [
"ignore:The global interpreter lock .* '_brotli'.*:RuntimeWarning",
]
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
dem_handler = ["**/*.gpkg"]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
[tool.pixi.pypi-dependencies]
dem-handler = { path = ".", editable = true }
[tool.pixi.tasks]
export-conda = """
pixi workspace export conda-environment -e default environment.yaml && \
sed -ix "s/^name: default$/name: dem-handler/" environment.yaml; rm environment.yamlx
"""
reformat = """
isort . --skip .pixi --profile black
black . --exclude .pixi --target-version py313
"""
[tool.pixi.dependencies]
gdal = ">=3.10.2"
rasterio = ">=1.4.3"
geopandas = ">=1.0.1"
pyproj = ">=3.6"
pyogrio = ">=0.13.0,<0.14"
[tool.pixi.environments]
default = { solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
[tool.pixi.feature.dev.tasks]
download_test_data = "python tests/download_test_data.py"
test = { cmd = "pytest", depends-on = ["download_test_data"] }
[tool.pixi.feature.dev.dependencies]
pre-commit = ">=4.2.0"
ipykernel = ">=6.29.5"
black = "26.5.1.*"
isort = ">=8.0.1,<9"
[dependency-groups]
dev = ["pytest", "coverage"]