-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (96 loc) · 2.54 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
[build-system]
requires = [
"hatchling>=1.21.1",
"jupyterlab>=4.0.0,<5",
"hatch-nodejs-version>=0.3.2",
]
build-backend = "hatchling.build"
[project]
name = "d3vis_ipynb"
description = "A Custom Jupyter Widget Library with visualizations created with D3.js."
readme = "README.md"
license = { file = "LICENSE.txt" }
requires-python = ">=3.9"
authors = [
{ name = "Daniel Adam Miranda", email = "[email protected]" },
]
keywords = [
"IPython",
"Jupyter",
"Widgets",
]
classifiers = [
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"ipywidgets==7.7.1",
"simplejson >=3.19.0",
"anywidget >= 0.9.6"
]
version = "0.4.0"
[project.optional-dependencies]
docs = [
"jupyter_sphinx",
"nbsphinx",
"nbsphinx-link",
"pypandoc",
"pytest_check_links",
"recommonmark",
"sphinx>=1.5",
"sphinx_rtd_theme",
]
examples = []
test = [
"nbval",
"pytest-cov",
"pytest>=6.0",
]
[project.urls]
Homepage = "https://github.com/H-IAAC/d3vis_ipynb"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
artifacts = [
"d3vis_ipynb/nbextension/index.*",
"d3vis_ipynb/labextension/*.tgz",
"d3vis_ipynb/labextension",
]
[tool.hatch.build.targets.wheel.shared-data]
"d3vis_ipynb/nbextension" = "share/jupyter/nbextensions/d3vis_ipynb"
"d3vis_ipynb/labextension" = "share/jupyter/labextensions/d3vis_ipynb"
"./install.json" = "share/jupyter/labextensions/d3vis_ipynb/install.json"
"./d3vis_ipynb.json" = "etc/jupyter/nbconfig/notebook.d/d3vis_ipynb.json"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
"samples",
"examples",
]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"d3vis_ipynb/nbextension/index.js",
"d3vis_ipynb/labextension/package.json",
]
skip-if-exists = [
"d3vis_ipynb/nbextension/index.js",
"d3vis_ipynb/labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.8.3",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "js/"
build_cmd = "build:prod"
npm = ["npm"]