-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
84 lines (74 loc) · 1.84 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "waterbodies"
# version = "0.0.1"
authors = [{name = "Digital Earth Africa", email = "[email protected]"}]
maintainers = [{name = "Digital Earth Africa", email = "[email protected]"}]
description = "DE Africa waterbodies"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
]
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"click",
"datacube[s3, performance]==1.8.20",
"fsspec",
"geoalchemy2",
"geopandas[all]",
"numpy",
"odc-dscache",
"odc-geo",
"odc-stats",
"pandas",
"python-dotenv",
"python-geohash",
"rasterio",
"rioxarray",
"s3fs",
"scikit-image",
"sqlalchemy",
"alembic",
"toolz",
"tqdm",
"xarray[complete]",
]
[project.optional-dependencies]
tests = [
"pytest",
"coverage",
"odc-apps-dc-tools",
]
lint = [
"black[jupyter]",
"flake8",
"mypy",
"isort>=5.0.0",
"pre-commit",
]
viz = ["lxml"]
dev = ["waterbodies[tests, lint, viz]"]
[project.urls]
Repository = "https://github.com/digitalearthafrica/waterbodies.git"
"Bug Tracker" = "https://github.com/digitalearthafrica/waterbodies/issues"
[project.scripts]
waterbodies = "waterbodies.cli.main:waterbodies"
[tool.setuptools]
packages = ["waterbodies"]
[tool.setuptools.dynamic]
version = {attr = "waterbodies.__version__"}
[tool.setuptools_scm]
version_file = "waterbodies/_version.py"
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"