microsoft/qdk

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
5c010e21a1bb8c2b55955f2a1cb13ced3355897f

Branches

Tags

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

Clone

HTTPS

Download ZIP

jupyterlab/pyproject.toml

63lines · modecode

1[build-system]
2requires = ["hatchling>=1.4.0", "jupyterlab==4.0.0", "hatch-nodejs-version"]
3build-backend = "hatchling.build"
4
5[project]
6name = "qsharp_jupyterlab"
7readme = "README.md"
8requires-python = ">=3.7"
9classifiers = [
10 "Framework :: Jupyter",
11 "Framework :: Jupyter :: JupyterLab",
12 "Framework :: Jupyter :: JupyterLab :: 4",
13 "Framework :: Jupyter :: JupyterLab :: Extensions",
14 "Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
15 "License :: OSI Approved :: MIT License",
16 "Programming Language :: Python",
17 "Programming Language :: Python :: 3",
18 "Programming Language :: Python :: 3.7",
19 "Programming Language :: Python :: 3.8",
20 "Programming Language :: Python :: 3.9",
21 "Programming Language :: Python :: 3.10",
22 "Programming Language :: Python :: 3.11",
23]
24dependencies = [
25]
26dynamic = ["version", "description", "authors", "urls", "keywords"]
27
28[tool.hatch.version]
29source = "nodejs"
30
31[tool.hatch.metadata.hooks.nodejs]
32fields = ["description", "authors", "urls"]
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.check-wheel-contents]
63ignore = ["W002"]
64