-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (59 loc) · 1.88 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[project]
name = "d2-widget"
version = "0.0.3"
description = "An AnyWidget for displaying declarative diagrams written in D2"
authors = [
{name = "Péter Ferenc Gyarmati", email = "dev.petergy@gmail.com"},
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.9"
keywords = ["anywidget", "d2", "diagram", "jupyter", "widget"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"anywidget>=0.9",
"traitlets>=5",
]
[project.urls]
Homepage = "https://github.com/peter-gy/d2-widget"
Repository = "https://github.com/peter-gy/d2-widget"
Documentation = "https://github.com/peter-gy/d2-widget#readme"
"Bug Tracker" = "https://github.com/peter-gy/d2-widget/issues"
# Dependency groups (recognized by `uv`). For more details, visit:
# https://peps.python.org/pep-0735/
[dependency-groups]
dev = [
"jupyterlab>=4",
"marimo>=0.13",
"ruff>=0.11",
"watchfiles>=1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
only-packages = true
artifacts = ["src/d2_widget/static/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["src/d2_widget/static/widget.js"]
skip-if-exists = ["src/d2_widget/static/widget.js"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "pnpm"
build_cmd = "build"
[tool.uv]
required-version = ">=0.6.0"