fix: version number is not read from pyproject.toml anymore

This commit is contained in:
Mose Müller 2023-08-08 14:12:46 +02:00
parent 3972b52f32
commit b1dcceebf7

View File

@ -1,5 +1,2 @@
import toml
pyproject = toml.load("pyproject.toml")
__version__ = pyproject["tool"]["poetry"]["version"]
__version__ = "0.1.0"
__major__, __minor__, __patch__ = [int(v) for v in __version__.split(".")]