forked from ESA-PhiLab/phidown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (62 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
70 lines (62 loc) · 1.66 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
[project]
name = "phidown"
version = "0.1.20"
description = "A project using AWS services and dataset tools for Sentinel data"
authors = [
{ name = "Roberto Del Prete", email = "roberto.delprete@esa.int" }
]
dependencies = [
"pandas>=1.5.2", # keep as is, already minimum version
"s5cmd",
]
requires-python = ">=3.9"
license = { text = "GPLv3" }
[project.optional-dependencies]
jupyter_env = [
"ipykernel>=6.30.1",
"jupyterlab-widgets>=3.0.15",
"jupyter-leaflet>=0.20.0",
"ipywidgets>=8.1.6",
]
ais = [
"shapely>=2.0.0", # Use 2.x for Python 3.12 compatibility
"pyarrow>=21.0.0",
"huggingface-hub>=0.35.0",
]
viz = [
"leafmap[maplibre]>=0.52.2",
"localtileserver>=0.10.6",
"setuptools>=80.9.0",
"ipyleaflet>=0.19.2",
"leafmap>=0.52.2",
"xarray>=2024.7.0",
"folium>=0.18.0",
"rasterio>=1.4.3",
"matplotlib>=3.9.4",
]
dev = [
"pytest>=7.0.0,<9.0.0", # More conservative range
"pytest-mock>=3.10.0",
"flake8>=6.0.0,<8.0.0", # More conservative range
]
docs = [
"sphinx>=7.0.0,<8.0.0", # Use 7.x for better compatibility
"sphinx-rtd-theme>=1.3.0,<4.0.0",
"sphinx-autodoc-typehints>=1.24.0,<3.0.0", # Compatible with Python 3.9
"myst-parser>=3.0.0,<4.0.0", # Use 3.x for compatibility
"sphinx-copybutton>=0.5.0",
"sphinx-autoapi>=2.5.0,<4.0.0", # More conservative range
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.build]
includes = ["phidown/**"]
[tool.pdm.sdist]
# Include all files for source distribution
includes = ["phidown/**", "README.md", "LICENSE"]
[tool.pdm.wheel]
# Universal wheel (pure Python, no platform-specific code)
universal = true