-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
35 lines (28 loc) · 1009 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "anyw2_react"
version = "0.0.0"
dependencies = ["anywidget"]
readme = "README.md"
# For projects not using `uv`, you can install these development dependencies with:
# `pip install -e ".[dev]"`
# If you're using `uv` for development, feel free to remove this section.
[project.optional-dependencies]
dev = ["watchfiles", "jupyterlab"]
# Dependency groups (recognized by `uv`). For more details, visit:
# https://peps.python.org/pep-0735/
[dependency-groups]
dev = ["watchfiles", "jupyterlab"]
[tool.hatch.build]
only-packages = true
artifacts = ["src/anyw2_react/static/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["src/anyw2_react/static/widget.js"]
skip-if-exists = ["src/anyw2_react/static/widget.js"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"