-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
138 lines (121 loc) · 2.94 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "neatnet"
dynamic = ["version"]
authors = [
{ name = "Martin Fleischmann", email = "martin@martinfleischmann.net" },
{ name = "Anastassia Vybornova", email = "anvy@itu.dk" },
{ name = "James D. Gaboardi", email = "jgaboardi@gmail.com" },
]
license = { text = "BSD 3-Clause" }
description = "Street geometry processing toolkit"
keywords = [""]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.11"
dependencies = [
"esda>=2.6.0",
"geopandas>=1.0.1",
"libpysal>=4.12.1",
"momepy>=0.9.0",
"networkx>=3.3",
"numpy>=1.26.4",
"pandas>=2.2.3",
"scipy>=1.14.1",
"shapely>=2.0.6",
]
[project.urls]
Home = "https://github.com/uscuni/"
Repository = "https://github.com/uscuni/neatnet"
[project.optional-dependencies]
tests = [
"codecov",
"coverage",
"pre-commit",
"pyarrow>=17.0",
"pytest",
"pytest-cov",
"pytest-xdist",
"ruff",
"yamllint",
]
docs = [
"sphinx",
"numpydoc",
"myst_nb",
"sphinxcontrib-bibtex",
"sphinx_autosummary_accessors",
"sphinx_copybutton",
"sphinx_book_theme",
"ipykernel",
]
[tool.setuptools.packages.find]
include = ["neatnet", "neatnet.*"]
[tool.ruff]
line-length = 88
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "N", "B", "A", "C4", "SIM", "ARG"]
[tool.ruff.lint.per-file-ignores]
"*__init__.py" = [
"F401", # imported but unused
"F403", # star import; unable to detect undefined names
]
[tool.coverage.run]
source = ["./neatnet"]
[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"except ModuleNotFoundError:",
"except ImportError",
]
ignore_errors = true
omit = ["neatnet/tests/*"]
[tool.pytest.ini_options]
filterwarnings = [
# this is an internal warning thrown within ``neatnet.geometry.snap_to_targets()``
'ignore:Could not create a connection*:UserWarning',
]
markers = [
'wuhan:Wuhan takes ages to run'
]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[tool.pixi.dependencies]
python = "3.13.*"
esda = "*"
geopandas = "*"
libpysal = "*"
momepy = "*"
networkx = "*"
numpy = "*"
osmnx = "*"
pandas = "*"
pyarrow = "*"
pyogrio = "*"
scipy = "*"
shapely = "*"
pre-commit = "*"
pytest = "*"
pytest-cov = "*"
pytest-xdist = "*"
ruff = "*"
yamllint = "*"
[tool.pixi.pypi-dependencies]
neatnet = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
tests = { features = ["tests", "docs"], solve-group = "default" }
[tool.pixi.tasks]