mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-08 14:30:41 +02:00
fix: version number is not read from pyproject.toml anymore
This commit is contained in:
parent
3972b52f32
commit
b1dcceebf7
@ -1,5 +1,2 @@
|
|||||||
import toml
|
__version__ = "0.1.0"
|
||||||
|
|
||||||
pyproject = toml.load("pyproject.toml")
|
|
||||||
__version__ = pyproject["tool"]["poetry"]["version"]
|
|
||||||
__major__, __minor__, __patch__ = [int(v) for v in __version__.split(".")]
|
__major__, __minor__, __patch__ = [int(v) for v in __version__.split(".")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user