-
Notifications
You must be signed in to change notification settings - Fork 69
/
pyproject.toml
138 lines (128 loc) · 2.73 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 = [
"black",
"isort",
"pyproject-flake8",
"setuptools>=61.0.0",
"versioneer[toml]",
]
build-backend = "setuptools.build_meta"
[project]
name = "spaghetti"
dynamic = ["version"]
maintainers = [
{name = "James D. Gaboardi", email = "jgaboardi@gmail.com"},
]
license = {text = "BSD 3-Clause"}
description = "Analysis of Network-constrained Spatial Data"
keywords = ["spatial statistics", "networks", "graphs"]
readme = {text = """\
Spaghetti is an open-source Python library for the analysis of network-based
spatial data. Originating from the `network` module in `PySAL`_
(Python Spatial Analysis Library), it is under active development
for the inclusion of newly proposed methods for building
graph-theoretic networks and the analysis of network events.
.. _PySAL: http://pysal.org
""", content-type = "text/x-rst"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.8"
dependencies = [
"esda",
"libpysal",
"numpy",
"pandas>=1.0",
"rtree",
"scipy>=1.0",
]
[project.urls]
Home = "https://pysal.org/spaghetti/"
Repository = "https://github.com/pysal/spaghetti"
[project.optional-dependencies]
dev = [
"black",
"flake8",
"isort",
"pre-commit",
"pyproject-flake8",
]
docs = [
"nbsphinx",
"numpydoc",
"sphinx",
"sphinxcontrib-bibtex",
"sphinx_bootstrap_theme",
]
plus = [
"geopandas>=0.7.0"
]
tests = [
"pytest",
"pytest-cov",
"pytest-timeout",
"pytest-xdist",
"codecov",
"coverage",
"twine",
"wheel",
]
nb_pypi = [
"mip",
"ortools",
]
nb_conda = [
"matplotlib",
"matplotlib-scalebar",
"pulp",
"seaborn",
"splot",
"watermark",
]
[tool.setuptools.packages.find]
include = [
"spaghetti",
"spaghetti.*",
]
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "spaghetti/_version.py"
versionfile_build = "spaghetti/_version.py"
tag_prefix = "v"
parentdir_prefix = "spaghetti-"
[tool.isort]
profile = "black"
src_paths = ["spaghetti"]
skip = [
"docs/conf.py",
"versioneer.py",
"spaghetti/_version.py"
]
[tool.flake8]
max_line_length = 88
per-file-ignores = [
"*__init__.py:F401",
]
exclude = [
"docs/conf.py",
"versioneer.py",
"spaghetti/_version.py"
]
[tool.black]
line-length = 88
extend-exclude = '''
(
docs/conf.py
"versioneer.py",
"spaghetti/_version.py"
)
'''