openstreetmap-tools/pyproject.toml
Edward Betts 53aab8c4bc Add web optional dependency and update docs
Flask is now declared under [project.optional-dependencies] as the
`web` extra, so `pip install osm-geojson[web]` installs both the CLI
and Flask. The `dev` extra includes Flask too so the test/dev venv
gets everything. Update README and AGENTS.md accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 20:05:14 +00:00

33 lines
616 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "osm-geojson"
version = "0.1.0"
description = "Fetch OSM public transport route relations and export as GeoJSON"
license = {text = "MIT"}
authors = [{name = "Edward Betts"}]
requires-python = ">=3.11"
dependencies = [
"click",
"requests",
]
[project.optional-dependencies]
web = [
"flask>=3.0",
]
dev = [
"mypy",
"pytest",
"responses",
"types-requests",
"flask>=3.0",
]
[project.scripts]
osm-pt-geojson = "osm_geojson.pt.cli:cli"
[tool.setuptools.packages.find]
where = ["src"]