|
1 |
| -[build-system] |
2 |
| -requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"] |
3 |
| -build-backend = "jupyter_packaging.build_api" |
4 |
| - |
5 |
| -[tool.jupyter-packaging.options] |
6 |
| -skip-if-exists = ["labextension/package.json"] |
7 |
| -ensured-targets = ["labextension/package.json"] |
| 1 | +[project] |
| 2 | +name = "jupyterlab_widgets" |
| 3 | +description = "Jupyter interactive widgets for JupyterLab" |
| 4 | +readme = { file = "README.md", content-type = "text/markdown" } |
| 5 | +requires-python = ">=3.7" |
| 6 | +license = { file = "LICENSE" } |
| 7 | +authors = [ |
| 8 | + { name = "Jupyter Development Team", email = "jupyter@googlegroups.com" } |
| 9 | +] |
| 10 | +keywords = [ |
| 11 | + "Interactive", "Interpreter", "Shell", "Web", "notebook", |
| 12 | + "widgets", "Jupyter", "JupyterLab", "JupyterLab3" |
| 13 | +] |
| 14 | +classifiers = [ |
| 15 | + "Intended Audience :: Developers", |
| 16 | + "Intended Audience :: System Administrators", |
| 17 | + "Intended Audience :: Science/Research", |
| 18 | + "License :: OSI Approved :: BSD License", |
| 19 | + "Programming Language :: Python", |
| 20 | + "Programming Language :: Python :: 3", |
| 21 | + "Programming Language :: Python :: 3.7", |
| 22 | + "Programming Language :: Python :: 3.8", |
| 23 | + "Programming Language :: Python :: 3.9", |
| 24 | + "Programming Language :: Python :: 3.10", |
| 25 | + "Programming Language :: Python :: 3.11", |
| 26 | + "Programming Language :: Python :: 3.12", |
| 27 | + "Programming Language :: Python :: 3.13", |
| 28 | + "Programming Language :: Python :: 3 :: Only", |
| 29 | + "Framework :: Jupyter", |
| 30 | + "Framework :: Jupyter :: JupyterLab", |
| 31 | + "Framework :: Jupyter :: JupyterLab :: 3", |
| 32 | + "Framework :: Jupyter :: JupyterLab :: Extensions", |
| 33 | + "Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt" |
| 34 | +] |
| 35 | +urls = { Homepage = "https://github.com/jupyter-widgets/ipywidgets" } |
| 36 | +dynamic = ["version"] |
8 | 37 |
|
9 |
| -[tool.jupyter-packaging.builder] |
10 |
| -factory = "jupyter_packaging.npm_builder" |
| 38 | +[tool.hatch.version] |
| 39 | +path = "jupyterlab_widgets/_version.py" |
11 | 40 |
|
12 |
| -[tool.jupyter-packaging.build-args] |
13 |
| -build_cmd = "build:prod" |
14 |
| -npm = ["jlpm"] |
| 41 | +[build-system] |
| 42 | +requires = ["hatchling>=1.5.0", "jupyterlab~=4.0"] |
| 43 | +build-backend = "hatchling.build" |
15 | 44 |
|
16 | 45 | [tool.check-manifest]
|
17 | 46 | ignore = ["labextension/**", "yarn.lock", ".*", "package-lock.json"]
|
| 47 | + |
| 48 | +[tool.hatch.build.hooks.jupyter-builder] |
| 49 | +ensured-targets = [ |
| 50 | + "labextension/package.json", |
| 51 | +] |
| 52 | +dependencies = [ |
| 53 | + "hatch-jupyter-builder>=0.8.1", |
| 54 | +] |
| 55 | +build-function = "hatch_jupyter_builder.npm_builder" |
| 56 | + |
| 57 | + |
| 58 | +[tool.hatch.build.targets.wheel.shared-data] |
| 59 | +"install.json" = "share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/install.json" |
| 60 | +"labextension" = "share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager" |
| 61 | + |
| 62 | +[tool.hatch.build.hooks.jupyter-builder.build-kwargs] |
| 63 | +path = "." |
| 64 | +build_cmd = "install:extension" |
| 65 | +npm = [ |
| 66 | + "jlpm", |
| 67 | +] |
0 commit comments