openstreetmap-tools/pyproject.toml
Edward Betts 29afb4f115 Use NaPTAN data for the UK stop finder
Import active NaPTAN stops into a local SQLite spatial index, including conversion of British National Grid coordinates. Add local searches, shareable stop links, source details and transport mode colours while retaining OSM route lookup by ATCO code.

Closes #1
2026-09-18 18:04:55 +01:00

41 lines
866 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",
"pyproj>=3.4",
]
dev = [
"mypy",
"playwright",
"pytest",
"responses",
"types-requests",
"flask>=3.0",
"pyproj>=3.4",
]
[project.scripts]
osm-pt-geojson = "osm_geojson.pt.cli:cli"
uk-bus-stops-import-naptan = "uk_bus_stops.naptan:main"
uk-bus-stops = "uk_bus_stops.app:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
uk_bus_stops = ["templates/*.html", "static/*.css", "static/*.js"]