-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
93 lines (83 loc) · 2.71 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
[build-system]
requires = [
"hatchling",
"jupyterlab~=4.0",
"hatch-nodejs-version>=0.3.2",
]
build-backend = "hatchling.build"
[project]
name = "p5-notebook"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Framework :: Jupyter",
"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 = []
dynamic = [
"version",
"description",
"authors",
"urls",
"keywords",
]
[tool.hatch.metadata.hooks.nodejs]
fields = [
"description",
"authors",
"urls",
]
[project.license]
file = "LICENSE"
[tool.hatch.version]
source = "nodejs"
[tool.hatch.build.hooks.version]
path = "p5_notebook/_version.py"
[tool.hatch.build.targets.wheel.shared-data]
"p5_notebook/labextension/static" = "share/jupyter/labextensions/@p5-notebook/lab-extension/static"
"install.json" = "share/jupyter/labextensions/@p5-notebook/p5-theme-dark/install.json"
"p5_notebook/labextension/package.json" = "share/jupyter/labextensions/@p5-notebook/lab-extension/package.json"
"p5_notebook/p5-theme-light/static" = "share/jupyter/labextensions/@p5-notebook/p5-theme-light/static"
"p5_notebook/p5-theme-light/package.json" = "share/jupyter/labextensions/@p5-notebook/p5-theme-light/package.json"
"p5_notebook/p5-theme-light/themes/@p5-notebook/p5-theme-light" = "share/jupyter/labextensions/@p5-notebook/p5-theme-light/themes/@p5-notebook/p5-theme-light"
"p5_notebook/p5-theme-dark/static" = "share/jupyter/labextensions/@p5-notebook/p5-theme-dark/static"
"p5_notebook/p5-theme-dark/themes/@p5-notebook/p5-theme-dark" = "share/jupyter/labextensions/@p5-notebook/p5-theme-dark/themes/@p5-notebook/p5-theme-dark"
"p5_notebook/p5-theme-dark/package.json" = "share/jupyter/labextensions/@p5-notebook/p5-theme-dark/package.json"
[tool.hatch.build.targets.sdist]
artifacts = [
"p5_notebook/labextension",
"p5_notebook/p5-theme-light",
"p5_notebook/p5-theme-dark",
]
exclude = [
".github",
]
[tool.hatch.build.hooks.jupyter-builder]
dependencies = [
"hatch-jupyter-builder>=0.8.3",
]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"p5_notebook/labextension/package.json",
]
skip-if-exists = [
"p5_notebook/labextension/package.json",
]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "build"
npm = [
"jlpm",
]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build:prod"
npm = [
"jlpm",
]