-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
105 lines (92 loc) · 2.33 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["pip", "setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "earth_osm"
dynamic = ["version"]
authors = [
{ name="pypsa-meets-earth" },
]
description = "Python tool to extract large-amounts of OpenStreetMap data"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
]
dependencies = [
"geopandas",
"pandas",
"tqdm",
"requests",
"protobuf>=4.21.1",
]
[project.urls]
Homepage = "https://github.com/pypsa-meets-earth/earth-osm/"
Issues = "https://github.com/pypsa-meets-earth/earth-osm/issues"
[project.optional-dependencies]
dev = [
"pytest",
"coverage",
"flake8",
"black",
"isort",
"pytest-cov",
"codecov",
"mypy>=0.9",
"gitchangelog",
"mkdocs",
"osmium",
]
docs = [
"lazydocs",
"mkdocs",
"mkdocs-material",
"mkdocs-awesome-pages-plugin",
"mkdocstrings[python]",
"markdown-include",
]
[project.scripts]
earth_osm = "earth_osm.__main__:main"
[tool.setuptools.packages.find]
include = ["earth_osm"]
[tool.setuptools.package-data]
"earth_osm" = ["py.typed"]
# Pytest settings
[tool.pytest.ini_options]
filterwarnings = [
"error::DeprecationWarning", # Raise all DeprecationWarnings as errors
"error::FutureWarning", # Raise all FutureWarnings as errors
]
# Coverage settings
[tool.coverage.run]
branch = true
source = ["earth_osm"]
omit = ["test/*"]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
]
# Static type checker settings
[tool.mypy]
exclude = ['dev/*', 'examples/*', 'docs/*']
ignore_missing_imports = true
no_implicit_optional = true
warn_unused_ignores = true
show_error_code_links = true
[[tool.mypy.overrides]]
module = "earth_osm.*"
disallow_untyped_defs = true
check_untyped_defs = true
[tool.setuptools.dynamic]
version = {attr = "earth_osm.__version__"}