microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
02a885e6cedb226ec4d38741e236d7b268057ea8

Branches

Tags

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

Clone

HTTPS

Download ZIP

jupyterlab/pyproject.toml

69lines · modecode

1[build-system]
2requires = ["hatchling>=1.19.0", "jupyterlab==4.0.0", "hatch-nodejs-version"]
3build-backend = "hatchling.build"
4
5[project]
6name = "qsharp-jupyterlab"
7version = "0.0.0"
8readme = "README.md"
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 :: 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]
24dependencies = [
25]
26dynamic = ["description", "authors", "urls", "keywords"]
27
28[tool.hatch.version]
29source = "nodejs"
30
31[tool.hatch.metadata.hooks.nodejs]
32fields = ["description", "authors", "urls", "keywords"]
33
34[tool.hatch.build.targets.sdist]
35artifacts = ["qsharp-jupyterlab/labextension"]
36exclude = [".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]
43path = "qsharp-jupyterlab/_version.py"
44
45[tool.hatch.build.hooks.jupyter-builder]
46dependencies = ["hatch-jupyter-builder>=0.5"]
47build-function = "hatch_jupyter_builder.npm_builder"
48ensured-targets = [
49 "qsharp-jupyterlab/labextension/package.json",
50]
51
52[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
53build_cmd = "build"
54npm = ["jlpm"]
55
56[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
57build_cmd = "build:dev"
58npm = ["jlpm"]
59source_dir = "src"
60build_dir = "qsharp-jupyterlab/labextension"
61
62[tool.hatch.build.targets.wheel]
63packages = ["qsharp-jupyterlab"]
64
65[tool.hatch.build.targets.wheel.force-include]
66"./setup.py" = "setup.py"
67
68[tool.check-wheel-contents]
69ignore = ["W002"]
70