-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (46 loc) · 1.49 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
[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="[email protected]"},
]
description = "DEM handling utility"
classifiers=[
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
version = "0.1" # TODO base this on files in project
dependencies = ["boto3>=1.37.12,<2", "geopandas>=1.0.1,<2", "requests>=2.32.3,<3"]
[project.urls]
Homepage = "https://github.com/GeoscienceAustralia/dem-handler.git"
# Documentation = "XXX"
#[project.scripts]
[tool.pytest.ini_options]
testpaths = ["tests/*"]
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
dem_handler = ["**/*.gpkg"]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
[tool.pixi.pypi-dependencies]
dem-handler = { path = ".", editable = true }
[tool.pixi.tasks]
[tool.pixi.dependencies]
gdal = ">=3.10.2,<4"
rasterio = ">=1.4.3,<2"
pyogrio = ">=0.10.0,<0.11"
[tool.pixi.environments]
default = { solve-group = "default" }
test = { features = ["test"], solve-group = "default" }
[tool.pixi.feature.test.tasks]
download_test_data = "python tests/download_test_data.py"
test = { cmd = "pytest", depends-on = ["download_test_data"] }
[dependency-groups]
test = ["pytest", "coverage"]