jupyterlab-sandbox-announce.../pyproject.toml

78 lines
2.4 KiB
TOML
Raw Normal View History

2023-02-04 20:07:10 +00:00
[build-system]
2024-02-05 15:11:31 +00:00
requires = ["hatchling>=1.5.0", "jupyterlab>=4.0.0,<5", "hatch-nodejs-version>=0.3.2"]
2023-02-04 20:07:10 +00:00
build-backend = "hatchling.build"
[project]
2024-02-05 15:11:31 +00:00
name = "jupyterlab_sandbox_announcement"
2023-02-04 20:07:10 +00:00
readme = "README.md"
license = { file = "LICENSE" }
2024-02-05 15:11:31 +00:00
requires-python = ">=3.8"
2023-02-04 20:07:10 +00:00
classifiers = [
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
2024-02-05 15:11:31 +00:00
"Framework :: Jupyter :: JupyterLab :: 4",
2023-02-04 20:07:10 +00:00
"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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
2024-02-05 15:11:31 +00:00
"Programming Language :: Python :: 3.12",
2023-02-04 20:07:10 +00:00
]
dependencies = [
]
dynamic = ["version", "description", "authors", "urls", "keywords"]
[tool.hatch.version]
source = "nodejs"
[tool.hatch.metadata.hooks.nodejs]
fields = ["description", "authors", "urls"]
[tool.hatch.build.targets.sdist]
2024-02-05 15:11:31 +00:00
artifacts = ["jupyterlab_sandbox_announcement/labextension"]
2023-02-04 20:07:10 +00:00
exclude = [".github", "binder"]
[tool.hatch.build.targets.wheel.shared-data]
2024-02-05 15:11:31 +00:00
"jupyterlab_sandbox_announcement/labextension" = "share/jupyter/labextensions/jupyterlab-sandbox-announcement"
2023-02-04 20:07:10 +00:00
"install.json" = "share/jupyter/labextensions/jupyterlab-sandbox-announcement/install.json"
[tool.hatch.build.hooks.version]
2024-02-05 15:11:31 +00:00
path = "jupyterlab_sandbox_announcement/_version.py"
2023-02-04 20:07:10 +00:00
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder>=0.5"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
2024-02-05 15:11:31 +00:00
"jupyterlab_sandbox_announcement/labextension/static/style.js",
"jupyterlab_sandbox_announcement/labextension/package.json",
2023-02-04 20:07:10 +00:00
]
2024-02-05 15:11:31 +00:00
skip-if-exists = ["jupyterlab_sandbox_announcement/labextension/static/style.js"]
2023-02-04 20:07:10 +00:00
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build:prod"
npm = ["jlpm"]
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "install:extension"
npm = ["jlpm"]
source_dir = "src"
2024-02-05 15:11:31 +00:00
build_dir = "jupyterlab_sandbox_announcement/labextension"
2023-02-04 20:07:10 +00:00
[tool.jupyter-releaser.options]
version_cmd = "hatch version"
[tool.jupyter-releaser.hooks]
2024-02-05 15:11:31 +00:00
before-build-npm = [
"python -m pip install 'jupyterlab>=4.0.0,<5'",
"jlpm",
"jlpm build:prod"
]
2023-02-04 20:07:10 +00:00
before-build-python = ["jlpm clean:all"]
[tool.check-wheel-contents]
ignore = ["W002"]