-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (54 loc) · 2.04 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
[build-system]
requires = ["hatchling", "hatch-nodejs-version", "jupyterlab>=4.2.5,<5"]
build-backend = "hatchling.build"
[project]
name = "jupyterlab-open-warning"
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 4",
"Framework :: Jupyter :: JupyterLab :: Extensions",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
"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",
]
requires-python = ">=3.9"
dynamic = ["version", "description", "authors", "urls", "keywords"]
[project.optional-dependencies]
rtc = ["jupyter-collaboration>=2.1.2,<2"]
[tool.hatch.version]
source = "nodejs"
[tool.hatch.metadata.hooks.nodejs]
fields = ["description", "authors", "urls", "keywords"]
[tool.hatch.build.targets.sdist]
artifacts = ["labextension"]
[tool.hatch.build.targets.wheel.shared-data]
"labextension" = "share/jupyter/labextensions/jupyterlab-open-warning"
"install.json" = "share/jupyter/labextensions/jupyterlab-open-warning/install.json"
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder>=0.9.1"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["labextension/package.json"]
skip-if-exists = ["labextension/package.json"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build"
npm = ["jlpm"]
[tool.hatch.envs.default]
description = "For running JupyterLab in development"
dependencies = ["jupyterlab>=4.2.5,<5", "jupyter-collaboration>=2.1.2,<3"]
[tool.hatch.envs.default.scripts]
dev = "jlpm dev"
build = "jlpm build"
clean = "jlpm clean"
lint = "jlpm lint"
[tool.hatch.envs.ci]
description = "For running jlpm in CI without building and installing this package"
detached = true
dependencies = ["jupyterlab>=4.2.5,<5"]