microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
jupyterlab/pyproject.toml
69lines · modecode
| 1 | [build-system] |
| 2 | requires = ["hatchling>=1.19.0", "jupyterlab==4.0.0", "hatch-nodejs-version"] |
| 3 | build-backend = "hatchling.build" |
| 4 | |
| 5 | [project] |
| 6 | name = "qsharp-jupyterlab" |
| 7 | version = "0.0.0" |
| 8 | readme = "README.md" |
| 9 | requires-python = ">=3.9" |
| 10 | classifiers = [ |
| 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 :: MIT License", |
| 17 | "Programming Language :: Python", |
| 18 | "Programming Language :: Python :: 3", |
| 19 | "Programming Language :: Python :: 3.9", |
| 20 | "Programming Language :: Python :: 3.10", |
| 21 | "Programming Language :: Python :: 3.11", |
| 22 | "Programming Language :: Python :: 3.12", |
| 23 | ] |
| 24 | dependencies = [ |
| 25 | ] |
| 26 | dynamic = ["description", "authors", "urls", "keywords"] |
| 27 | |
| 28 | [tool.hatch.version] |
| 29 | source = "nodejs" |
| 30 | |
| 31 | [tool.hatch.metadata.hooks.nodejs] |
| 32 | fields = ["description", "authors", "urls", "keywords"] |
| 33 | |
| 34 | [tool.hatch.build.targets.sdist] |
| 35 | artifacts = ["qsharp-jupyterlab/labextension"] |
| 36 | exclude = [".github", "binder"] |
| 37 | |
| 38 | [tool.hatch.build.targets.wheel.shared-data] |
| 39 | "qsharp-jupyterlab/labextension" = "share/jupyter/labextensions/qsharp-jupyterlab" |
| 40 | "install.json" = "share/jupyter/labextensions/qsharp-jupyterlab/install.json" |
| 41 | |
| 42 | [tool.hatch.build.hooks.version] |
| 43 | path = "qsharp-jupyterlab/_version.py" |
| 44 | |
| 45 | [tool.hatch.build.hooks.jupyter-builder] |
| 46 | dependencies = ["hatch-jupyter-builder>=0.5"] |
| 47 | build-function = "hatch_jupyter_builder.npm_builder" |
| 48 | ensured-targets = [ |
| 49 | "qsharp-jupyterlab/labextension/package.json", |
| 50 | ] |
| 51 | |
| 52 | [tool.hatch.build.hooks.jupyter-builder.build-kwargs] |
| 53 | build_cmd = "build" |
| 54 | npm = ["jlpm"] |
| 55 | |
| 56 | [tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs] |
| 57 | build_cmd = "build:dev" |
| 58 | npm = ["jlpm"] |
| 59 | source_dir = "src" |
| 60 | build_dir = "qsharp-jupyterlab/labextension" |
| 61 | |
| 62 | [tool.hatch.build.targets.wheel] |
| 63 | packages = ["qsharp-jupyterlab"] |
| 64 | |
| 65 | [tool.hatch.build.targets.wheel.force-include] |
| 66 | "./setup.py" = "setup.py" |
| 67 | |
| 68 | [tool.check-wheel-contents] |
| 69 | ignore = ["W002"] |
| 70 | |