forked from jupyter-widgets/ipyleaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (73 loc) · 1.92 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
[build-system]
requires = [
"hatchling",
"jupyterlab==4.*",
]
build-backend = "hatchling.build"
[project]
name = "ipyleaflet"
version = "0.18.1"
description = "A Jupyter widget for dynamic Leaflet maps"
readme = "README.md"
authors = [
{ name = "Project Jupyter", email = "[email protected]" },
]
keywords = [
"ipython", "jupyter", "widgets", "graphics", "GIS",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"ipywidgets>=7.6.0,<9",
"traittypes>=0.2.1,<3",
"xyzservices>=2021.8.1",
"branca>=0.5.0",
]
[project.urls]
Homepage = "https://github.com/jupyter-widgets/ipyleaflet"
[tool.hatch.build]
artifacts = [
"ipyleaflet/nbextension/index.*",
"ipyleaflet/labextension",
]
[tool.hatch.build.targets.wheel.shared-data]
"ipyleaflet/nbextension" = "share/jupyter/nbextensions/jupyter-leaflet"
"ipyleaflet/labextension" = "share/jupyter/labextensions/jupyter-leaflet"
"jupyter-leaflet.json" = "etc/jupyter/nbconfig/notebook.d/jupyter-leaflet.json"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
]
[tool.hatch.build.hooks.jupyter-builder]
ensured-targets = [
"ipyleaflet/nbextension/index.js",
"ipyleaflet/labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.8.1",
]
build-function = "hatch_jupyter_builder.npm_builder"
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "./js"
build_cmd = "build"
npm = [
"jlpm",
]
[tool.ruff]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
]
ignore = ["E501", "E731"]