Skip to content

Commit 273c389

Browse files
committed
Compute frontend version automatically
1 parent 730dc87 commit 273c389

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bqplot_gl/_frontend.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
Information about the frontend package of the widgets.
99
"""
1010

11+
from ._version import __version__
12+
13+
major, minor, patch = __version__.split('.')
14+
1115
module_name = "bqplot-gl"
12-
module_version = "^0.1.0-alpha.0"
16+
module_version = f"^{major}.{minor}"

0 commit comments

Comments
 (0)