-
Notifications
You must be signed in to change notification settings - Fork 225
/
pyproject.toml
140 lines (125 loc) · 3.19 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
139
140
[build-system]
requires = [
"hatchling",
"jupyterlab==4.*",
"hatch-nodejs-version>=0.3.2",
]
build-backend = "hatchling.build"
[project]
name = "ipympl"
description = "Matplotlib Jupyter Extension"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "Matplotlib Development Team", email = "matplotlib-users@python.org"},
]
keywords = [
"graphics",
"ipython",
"jupyter",
"widgets",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: IPython",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: 4",
"Framework :: Jupyter :: JupyterLab :: Extensions",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Graphics",
]
dependencies = [
"ipython<9",
"ipywidgets>=7.6.0,<9",
"matplotlib>=3.4.0,<4",
"numpy",
"pillow",
"traitlets<6",
]
requires-python = ">=3.9"
dynamic = [
"version",
]
[project.optional-dependencies]
docs = [
"myst-nb",
"Sphinx >= 1.5",
"sphinx-book-theme",
"sphinx-copybutton",
"sphinx-thebe",
"sphinx-togglebutton",
]
[project.urls]
Homepage = "http://matplotlib.org/ipympl"
Repository = "https://github.com/matplotlib/ipympl"
[project.entry-points."matplotlib.backend"]
ipympl = "ipympl.backend_nbagg"
widget = "ipympl.backend_nbagg"
[tool.hatch.build]
artifacts = [
"ipympl/nbextension/index.*",
"ipympl/nbextension/package.json",
"ipympl/labextension/*.tgz",
"ipympl/labextension",
]
[tool.hatch.build.targets.wheel.shared-data]
"ipympl/nbextension" = "share/jupyter/nbextensions/jupyter-matplotlib"
"ipympl/labextension" = "share/jupyter/labextensions/jupyter-matplotlib"
"jupyter-matplotlib.json" = "etc/jupyter/nbconfig/notebook.d/jupyter-matplotlib.json"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
dependencies = [
"hatch-jupyter-builder>=0.8.3",
]
ensured-targets = [
"ipympl/nbextension/index.js",
"lib/plugin.js",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "."
build_cmd = "build:prod"
npm = ["jlpm"]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
npm = ["jlpm"]
[tool.hatch.version]
path = "ipympl/_version.py"
source = "code"
[tool.pytest.ini_options]
testpaths = [
"docs/examples",
]
norecursedirs = [
"node_modules",
".ipynb_checkpoints",
]
addopts = "--nbval-lax --current-env"
[tool.isort]
profile = "black"
src_paths = "ipympl"
multi_line_output = 3
[tool.pydocstyle]
match_dir = "ipympl"
convention = "numpy"
add_select = [
"D402",
"D415",
"D417",
]
[tool.black]
skip-string-normalization = true