Commit 60906f1
committed
build(pyproject): declare
Add a minimal `[project]` table to `pyproject.toml` and set:
- `requires-python = ">=3.9"`
- `name = "folium"`
- `dynamic = [...]` for fields still sourced from `setup.py`
Why this is needed:
`python_requires` in `setup.py` is not enough for tools that read interpreter
constraints from `pyproject.toml` metadata. Per PEP 621, `requires-python`
belongs in `[project]`, which allows `uv` to resolve/lock against the correct
Python range instead of defaulting incorrectly (see
astral-sh/uv#11424).requires-python via PEP 621 [project] metadata1 parent 54f23c5 commit 60906f1
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
5 | 20 | | |
6 | 21 | | |
7 | 22 | | |
| |||
0 commit comments