Compare commits

...

2 Commits

Author SHA1 Message Date
bcd525d787 ignore version file 2025-04-05 10:46:38 +02:00
8289042af4 remove version file from repository
I don't want to have to commit an ever changing version file.
2025-04-05 10:46:00 +02:00
3 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -5,4 +5,5 @@ dist
testbed
icons-not-used
venv*
*.spec
*.spec
/version.txt

View File

@@ -13,7 +13,8 @@ from src.ui.icon import Icon
from pathlib import Path
import os
__version__ = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt").read_text()
version_file = Path(os.path.dirname(os.path.realpath(__file__)) + os.sep + "version.txt")
__version__ = version_file.read_text() if version_file.is_file() else "0.0.0"
gettext.install('krowlog', 'locale')

View File

@@ -1 +0,0 @@
0.2.1-36-g9902be0