-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (95 loc) · 2.62 KB
/
pyproject.toml
File metadata and controls
111 lines (95 loc) · 2.62 KB
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
106
107
108
109
110
111
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.0.0", "wheel"]
[project]
name = "cartogram"
description = "Compute continous cartograms (anamorphic maps)"
readme = "README.md"
authors = [
{ name = "Christoph Fink", email = "christoph.fink@christophfink.com" }
]
dependencies = [
"geopandas",
"joblib",
"numpy",
"pandas",
"shapely"
]
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"
]
keywords = ["cartography", "geodata", "geoinformation", "visualisation"]
license = {text = "GPL-3.0-or-later"}
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black",
"flake8",
"flake8-bugbear",
"flake8-pyproject",
"isort",
"pydocstyle",
"pylint",
]
docs = [
"folium",
"GitPython",
"jupyterlab_myst",
"mapclassify",
"matplotlib",
"myst-nb",
"nbsphinx",
"pybtex-apa7-style",
"sphinx",
"sphinx-book-theme",
"sphinx-design",
"sphinxcontrib-bibtex",
"sphinxcontrib-images",
"xyzservices",
]
tests = [
"pytest",
"pytest-cov",
"pytest-lazy-fixtures",
]
[project.urls]
Documentation = "https://python-cartogram.readthedocs.org/"
Repository = "https://github.com/austromorph/python-cartogram"
"Change log" = "https://github.com/austromorph/python-cartogram/blob/main/CHANGELOG.md"
"Bug tracker" = "https://github.com/austromorph/python-cartogram/issues"
[tool.coverage.paths]
equivalent_sources = [
"src/cartogram/",
".virtualenv/lib/python*/site-packages/cartogram/",
"/opt/hostedtoolcache/Python/*/x64/lib/python*/site-packages/cartogram/",
"/Library/Frameworks/Python.framework/Versions/*/lib/python*/site-packages/cartogram/",
"C:/hostedtoolcache/windows/Python/*/x64/Lib/site-packages/cartogram/"
]
[tool.coverage.report]
exclude_also = [
'if __name__ == .__main__.:',
]
[tool.coverage.run]
omit = ["tests/*", ".virtualenv/**/*"]
[tool.flake8]
exclude = ["build", "dist", "docs/conf.py", ".virtualenv"]
extent-ignore = ["E203", "E501", "E701"]
extent-select = ["B950"]
max-line-length = 88
[tool.isort]
profile = "black"
skip = ["build", "dist", "docs/conf.py", ".virtualenv"]
[tool.pydocstyle]
#match-dir = "^(src|tests|build_backend).*"
[tool.pylintrc]
good-names = ["i", "j", "k", "e", "ex", "id", "Run", "_"]
max-line-length = 88
[tool.pytest.ini_options]
addopts = "--cov=cartogram --cov-report term-missing --cov-report xml"
pythonpath = ["src"]
testpaths = ["tests"]
[tool.setuptools.dynamic]
version = {attr = "cartogram.__version__"}