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>
This commit is contained in:
Edward Betts 2026-02-27 20:05:14 +00:00
parent c37b463c0e
commit 53aab8c4bc
3 changed files with 8 additions and 4 deletions

View file

@ -81,10 +81,10 @@ cd web
flask --app app.py run
```
The web dependencies (Flask) are not in `pyproject.toml`; install separately:
Install the package with the `web` extra to include Flask:
```
pip install flask
pip install -e ".[web]"
```
## Type checking