microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.23.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/jupyterlab/pyproject.toml

68lines · modecode

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