Skip to content

Commit af06d09

Browse files
committed
Move package version to pyproject.toml
Set a static version (2.0.0rc1) in pyproject.toml and remove the dynamic setuptools configuration that read dlclivegui.__version__. Also remove the placeholder __version__ from dlclivegui/__init__.py so version metadata is centralized in pyproject.toml.
1 parent 735b9a0 commit af06d09

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

dlclivegui/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717
"RecordingSettings",
1818
"main",
1919
]
20-
__version__ = "2.0.0rc0" # PLACEHOLDER

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ requires = [ "setuptools>=68" ]
44

55
[project]
66
name = "deeplabcut-live-gui"
7+
version = "2.0.0rc1"
78
description = "PySide6-based GUI to run real time pose estimation experiments with DeepLabCut"
89
readme = "README.md"
910
keywords = [ "deep learning", "deeplabcut", "gui", "pose estimation", "real-time" ]
@@ -21,7 +22,6 @@ classifiers = [
2122
"Programming Language :: Python :: 3.12",
2223
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2324
]
24-
dynamic = [ "version" ] # version is set in dlclivegui/__init__.py
2525
dependencies = [
2626
"cv2-enumerate-cameras",
2727
"deeplabcut-live==1.1",
@@ -74,9 +74,6 @@ Documentation = "https://github.com/DeepLabCut/DeepLabCut-live-GUI" # FIXME @C-
7474
Homepage = "https://github.com/DeepLabCut/DeepLabCut-live-GUI"
7575
Repository = "https://github.com/DeepLabCut/DeepLabCut-live-GUI"
7676

77-
[tool.setuptools.dynamic]
78-
version = { attr = "dlclivegui.__version__" }
79-
8077
# [tool.setuptools]
8178
# include-package-data = true
8279
[tool.setuptools.package-data]

0 commit comments

Comments
 (0)