Skip to content

Commit 5c45ace

Browse files
committed
Complete pyproject.toml with hatch-vcs for versioning
1 parent f99601d commit 5c45ace

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

pyproject.toml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,37 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "graphviz-anywidget"
7-
version = "0.0.0"
7+
description = "Interactive Graphviz visualization widget for Jupyter notebooks using anywidget."
8+
requires-python = ">=3.10"
9+
dynamic = ["version"]
10+
maintainers = [{ name = "Bas Nijholt", email = "bas@nijho.lt" }]
11+
license = { text = "MIT" }
812
dependencies = ["anywidget"]
9-
readme = "README.md"
13+
classifiers = [
14+
"Intended Audience :: Developers",
15+
"Intended Audience :: Science/Research",
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: OS Independent",
18+
"Programming Language :: Python",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
24+
]
25+
26+
[project.readme]
27+
content-type = "text/markdown"
28+
file = "README.md"
29+
30+
[project.urls]
31+
homepage = "https://github.com/pipefunc/graphviz-anywidget"
32+
documentation = "htthttps://github.com/pipefunc/graphviz-anywidget"
33+
repository = "https://github.com/pipefunc/graphviz-anywidget"
1034

11-
# For projects not using `uv`, you can install these development dependencies with:
12-
# `pip install -e ".[dev]"`
13-
# If you're using `uv` for development, feel free to remove this section.
1435
[project.optional-dependencies]
1536
dev = ["watchfiles", "jupyterlab", "pytest"]
1637

src/graphviz_anywidget/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import traitlets
88

99
try:
10-
__version__ = importlib.metadata.version("pipefunc")
10+
__version__ = importlib.metadata.version("graphviz-anywidget")
1111
except importlib.metadata.PackageNotFoundError:
1212
__version__ = "unknown"
1313

0 commit comments

Comments
 (0)