2requires = ["hatchling>=1.5.0", "jupyterlab>=4.0.0,<5", "hatch-nodejs-version>=0.3.2"]
3build-backend = "hatchling.build"
5[project]
6name = "jupyterlite-numbl-kernel"
7readme = "README.md"
8license = { file = "LICENSE" }
9requires-python = ">=3.9"
10classifiers = [
11 "Framework :: Jupyter",
12 "Framework :: Jupyter :: JupyterLab",
13 "Framework :: Jupyter :: JupyterLab :: 4",
14 "Framework :: Jupyter :: JupyterLab :: Extensions",
15 "Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
16 "License :: OSI Approved :: Apache Software License",
17 "Programming Language :: Python",
18 "Programming Language :: Python :: 3",
19]
20dependencies = []
21dynamic = ["version", "description", "authors", "urls", "keywords"]
23[tool.hatch.version]
24source = "nodejs"
26[tool.hatch.metadata.hooks.nodejs]
27fields = ["description", "authors", "urls", "keywords"]
29[tool.hatch.build.targets.sdist]
30artifacts = ["jupyterlite_numbl_kernel/labextension"]
31exclude = [".github", "demo"]
33[tool.hatch.build.targets.wheel.shared-data]
34"jupyterlite_numbl_kernel/labextension" = "share/jupyter/labextensions/jupyterlite-numbl-kernel"
35"install.json" = "share/jupyter/labextensions/jupyterlite-numbl-kernel/install.json"
37[tool.hatch.build.hooks.version]
38path = "jupyterlite_numbl_kernel/_version.py"
40[tool.hatch.build.hooks.jupyter-builder]
41dependencies = ["hatch-jupyter-builder>=0.5"]
42build-function = "hatch_jupyter_builder.npm_builder"
43ensured-targets = [
44 "jupyterlite_numbl_kernel/labextension/static/style.js",
45 "jupyterlite_numbl_kernel/labextension/package.json",
46]
47skip-if-exists = ["jupyterlite_numbl_kernel/labextension/static/style.js"]
49[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
50build_cmd = "build:prod"
51npm = ["jlpm"]
53[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
54build_cmd = "install:extension"
55npm = ["jlpm"]
56source_dir = "src"
57build_dir = "jupyterlite_numbl_kernel/labextension"
59[tool.check-wheel-contents]
60ignore = ["W002"]