-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
122 lines (113 loc) · 2.46 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "geosnap"
dynamic = ["version"]
authors = [
{ name = "Eli Knaap", email = "ek@knaaptime.com" },
{ name = "Serge Rey", email = "sjsrey@gmail.com" },
]
maintainers = [{ name = "geosnap contributors" }]
license = { text = "BSD 3-Clause" }
description = "The Geospatial Neighborhood Analysis Package"
keywords = ["geodemographics, neighborhood dynamics, urban data science, spatial analysis"]
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.8"
dependencies = [
"numpy",
"pandas",
"geopandas>=0.9",
"matplotlib",
"scikit-learn",
"seaborn",
"libpysal",
"mapclassify",
"giddy>=2.2.1",
"xlrd",
"platformdirs",
"tqdm",
"quilt3>=3.6",
"pyarrow>=0.14.1",
"contextily",
"tobler>=0.8.2",
"spopt>=0.3.0",
"fsspec",
"s3fs",
"segregation>=2.1",
#"proplot>=0.9",
"pyproj>=3",
"pandana",
"pooch"
]
[project.urls]
Home = "https://github.com/oturns/geosnap/"
Repository = "https://github.com/oturns/geosnap"
[project.optional-dependencies]
dev = ["pre-commit"]
docs = [
"nbsphinx",
"numpydoc",
"pandoc",
"sphinx",
"sphinxcontrib-bibtex",
"sphinx_bootstrap_theme",
"mkdocs-jupyter",
"myst-parser"
]
tests = [
"codecov",
"coverage",
"pytest",
"pytest-mpl",
"pytest-cov",
"matplotlib",
"matplotlib-scalebar",
"watermark",
"pygraphviz",
"hdbscan",
'osmnx'
]
[tool.setuptools.packages.find]
include = ["geosnap", "geosnap.*"]
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
select = ["E", "F", "W", "I", "UP", "N", "B", "A", "C4", "SIM", "ARG"]
target-version = "py38"
ignore = [
"B006",
"B008",
"B009",
"B010",
"C408",
"E731",
"F401",
"F403",
"N803",
"N806",
"N999",
"UP007"
]
exclude = ["geosnap/tests/*", "docs/*"]
[tool.coverage.run]
source = ["./geosnap"]
[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"except ModuleNotFoundError:",
"except ImportError",
]
ignore_errors = true
omit = ["geosnap/tests/*", "docs/conf.py"]