-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpyproject.toml
128 lines (114 loc) · 3.43 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
[project]
name = "lonboard"
version = "0.10.3"
description = "Fast, interactive geospatial data visualization in Jupyter."
authors = [{ name = "Kyle Barron", email = "[email protected]" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"anywidget~=0.9.0",
# Version in Colab as of October 2024
# Upgrading to 5.10 would be ideal to enable generic types
"traitlets>=5.7.1",
"arro3-core>=0.4.1",
"arro3-io>=0.4.1",
"arro3-compute>=0.4.1",
"ipywidgets>=7.6.0",
"numpy>=1.14",
# The same version pin as geopandas
"pyproj>=3.3",
"typing-extensions~=4.6.0; python_version < '3.12'",
]
keywords = [
"GIS",
"cartography",
"visualization",
"geopandas",
"pandas",
"shapely",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
]
[project.optional-dependencies]
cli = ["click>=8.1.7", "pyogrio>=0.8", "shapely>=2"]
geopandas = ["geopandas>=0.13", "pandas>=2", "shapely>=2"]
movingpandas = ["movingpandas>=0.17"]
[project.urls]
homepage = "https://developmentseed.org/lonboard/latest/"
documentation = "https://developmentseed.org/lonboard/latest/"
repository = "https://github.com/developmentseed/lonboard"
issues = "https://github.com/developmentseed/lonboard/issues"
changelog = "https://github.com/developmentseed/lonboard/blob/main/CHANGELOG.md"
[project.scripts]
lonboard = "lonboard._cli:main"
[dependency-groups]
docs = [
"mkdocs-material[imaging]>=9.5.49",
"mkdocs>=1.6.1",
"mkdocstrings[python]>=0.26.1",
# # This version only on 3.9+. Ok because it's a dev dependency
# mkdocs-jupyter = { version = "^0.24.5", python = "^3.9" }
"mkdocs-jupyter>=0.24.8",
"mike>=2.1.3",
"griffe-inherited-docstrings>=1.0.1",
# We use ruff format ourselves, but mkdocstrings requires black to be
# installed to format signatures in the docs
"black>=24.8.0",
]
dev = [
"duckdb>=1.1.3",
"fiona<1.10",
"geoarrow-pyarrow>=0.1.2",
"geoarrow-rust-core>=0.3.0",
"geodatasets>=2024.8.0",
"jupyterlab>=4.3.3",
"matplotlib>=3.7.5",
"movingpandas>=0.20.0",
"palettable>=3.3.3",
"pre-commit>=3.5.0",
"pyarrow>=17.0.0",
"pyogrio>=0.9.0",
"pytest>=8.3.4",
]
# Note: this is defined as a separate group so that it can be not installed in
# CI. See:
# https://github.com/developmentseed/lonboard/pull/234
# https://github.com/manzt/anywidget/issues/374
watchfiles = ["watchfiles>=0.24.0"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
only-include = ["lonboard"]
artifacts = ["lonboard/static/*.js", "lonboard/static/*.css"]
[tool.hatch.build.targets.sdist.force-include]
"MANIFEST.in" = "MANIFEST.in"
[tool.hatch.build.targets.wheel]
only-include = ["lonboard"]
artifacts = ["lonboard/static/*.js", "lonboard/static/*.css"]
[tool.hatch.build.targets.wheel.force-include]
"MANIFEST.in" = "MANIFEST.in"
[tool.ruff]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
]
[tool.ruff.extend-per-file-ignores]
"__init__.py" = [
"F401", # Allow unused imports in __init__.py files
]