Skip to content

Commit 8dea6e2

Browse files
committed
Switch project versioning to setuptools-scm
Update `pyproject.toml` to use dynamic versioning by adding `setuptools_scm[simple]` to build requirements and replacing the hardcoded project version with `dynamic = ["version"]`. This moves version management to SCM tags instead of a manually maintained value.
1 parent 1001d55 commit 8dea6e2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = [ "setuptools>=68" ]
3+
requires = [ "setuptools>=68", "setuptools-scm[simple]>=9" ]
44

55
[project]
66
name = "deeplabcut-live-gui"
7-
version = "2.0.0rc1"
87
description = "PySide6-based GUI to run real time pose estimation experiments with DeepLabCut"
98
readme = "README.md"
109
keywords = [ "deep learning", "deeplabcut", "gui", "pose estimation", "real-time" ]
@@ -22,6 +21,8 @@ classifiers = [
2221
"Programming Language :: Python :: 3.12",
2322
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2423
]
24+
# version = "2.0.0rc1"
25+
dynamic = [ "version" ]
2526
dependencies = [
2627
"cv2-enumerate-cameras",
2728
"deeplabcut-live>=1.1",

0 commit comments

Comments
 (0)