Skip to content

Commit f53be29

Browse files
committed
use solution from astral-sh/uv#11466
1 parent 2b9d0e7 commit f53be29

File tree

2 files changed

+70
-5
lines changed

2 files changed

+70
-5
lines changed

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies = [
1111
"contextily==1.6.2",
1212
"duckdb>=0.10.1",
1313
"folium>=0.19.6",
14+
"gdal!=3.11.1",
1415
"geoplot==0.5.1",
1516
"graphviz==0.20.3",
1617
"great-tables>=0.12.0",
@@ -45,7 +46,20 @@ dependencies = [
4546

4647
[tool.uv.sources]
4748
cartiflette = { git = "https://github.com/inseefrlab/cartiflette" }
49+
gdal = [
50+
{ index = "gdal-wheels", marker = "sys_platform == 'linux'" },
51+
{ index = "geospatial_wheels", marker = "sys_platform == 'win32'" },
52+
]
53+
54+
[[tool.uv.index]]
55+
name = "geospatial_wheels"
56+
url = "https://nathanjmcdougall.github.io/geospatial-wheels-index/"
57+
explicit = true
4858

59+
[[tool.uv.index]]
60+
name = "gdal-wheels"
61+
url = "https://gitlab.com/api/v4/projects/61637378/packages/pypi/simple"
62+
explicit = true
4963
[dependency-groups]
5064
dev = [
5165
"nb-clean>=4.0.1",

uv.lock

Lines changed: 56 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)