-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
48 lines (41 loc) · 1.4 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jupyter_bbox_widget"
version = "0.6.0"
description = "A Jupyter widget for annotating images with bounding boxes"
requires-python = ">=3.7"
dependencies = ["anywidget>=0.9.0"]
readme = "README.md"
license = { file = "LICENSE.txt" }
authors = [
{ name = "gereleth", email = "daria.voznyak@gmail.com" },
]
keywords = ["Jupyter", "Widgets", "Annotation", "Labeling", "Image"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Framework :: Jupyter",
]
[project.optional-dependencies]
dev = ["watchfiles", "jupyterlab"]
# automatically add the dev feature to the default env (e.g., hatch shell)
[tool.hatch.envs.default]
features = ["dev"]
[project.urls]
Homepage = "https://github.com/gereleth/jupyter_bbox_widget"
[tool.hatch.build]
only-packages = true
artifacts = ["src/jupyter_bbox_widget/static/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["src/jupyter_bbox_widget/static/main.mjs"]
# skip-if-exists = ["src/jupyter_bbox_widget/static/main.mjs"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"