-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (68 loc) · 2.05 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = ["setuptools>=65.5.1", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
# explicitly specified to ignore folders like htmlcov that
# would be auto-discovered as packages
packages = [
"static_osm_indexer",
# explicit, to include assets too
"static_osm_indexer.static_assets"
]
# true by default, just to be explicit
include-package-data = true
[tool.setuptools.package-data]
"static_osm_indexer.static_assets" = ["*"]
[project]
name = "static_osm_indexer"
description = "Tool to process OSM files, mainly for static sites"
authors = [
{ name="Jacopo Farina", email="[email protected]"},
]
maintainers = [
{ name="Jacopo Farina", email="[email protected]"},
]
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">=3.9"
dependencies = [
'osmium>=3.4.0',
'click>=8.1.0',
'shapely==2.0b2',
'geopy==2.3.0'
]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: GIS",
]
version = "0.2.1"
[project.urls]
"Homepage" = "https://github.com/jacopofar/static-osm-indexer"
"Bug Tracker" = "https://github.com/jacopofar/static-osm-indexer/issues"
[project.scripts]
soi_generate_mbtiles = "static_osm_indexer.generate_mbtiles:main"
soi_list_named_locations = "static_osm_indexer.list_named_locations:main"
soi_index_location_names = "static_osm_indexer.index_locations_names:main"
soi_generate_full_map = "static_osm_indexer.generate_full_map:main"
soi_extract_road_network = "static_osm_indexer.soi_extract_road_network:main"
soi_road_network_to_geojson = "static_osm_indexer.soi_road_network_to_geojson:main"
[project.optional-dependencies]
testing = [
"coverage",
"pytest>=7.2.0",
"mypy>=0.990",
"pytest-cov>=4.0.0",
# for now linting is here too
"black",
"mypy"
]
[[tool.mypy.overrides]]
module = [
"shapely",
"shapely.wkb",
"geopy.distance"
]
ignore_missing_imports = true