Skip to content

Commit 57a86a5

Browse files
authored
Compute frontend version automatically (#26)
* Compute frontend version automatically * Fixup * Include all pre-releases
1 parent 730dc87 commit 57a86a5

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, *_ = __version__.split('.')
14+
1115
module_name = "bqplot-gl"
12-
module_version = "^0.1.0-alpha.0"
16+
module_version = f"^{major}.{minor}.0-0"

0 commit comments

Comments
 (0)