Compare commits

...

2 Commits

Author SHA1 Message Date
5584eb4d6b Try fixing version information for pyinstaller packaging 2022-09-29 16:50:06 +02:00
675c456cfe Remove dead code 2022-09-29 03:18:42 +02:00
3 changed files with 3 additions and 14 deletions

View File

@ -28,6 +28,8 @@ prepare:
- echo "WINDOWS_AMD64_BINARY=fime_windows_amd64_${VERSION}" | tee -a build.env - echo "WINDOWS_AMD64_BINARY=fime_windows_amd64_${VERSION}" | tee -a build.env
- echo "PACKAGE_REGISTRY_URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fime/${VERSION}" | tee -a build.env - echo "PACKAGE_REGISTRY_URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fime/${VERSION}" | tee -a build.env
artifacts: artifacts:
paths:
- src/fime/_version.py
reports: reports:
dotenv: build.env dotenv: build.env

View File

@ -1,5 +1,5 @@
try: try:
from _version import __version__, __version_tuple__ from fime._version import __version__, __version_tuple__
except ImportError: except ImportError:
__version__ = version = '1.0.0.dev0' __version__ = version = '1.0.0.dev0'
__version_tuple__ = version_tuple = (1, 0, 0, 'dev0') __version_tuple__ = version_tuple = (1, 0, 0, 'dev0')

View File

@ -163,19 +163,6 @@ class App:
self.taskEdit.tasks = self.tasks.tasks self.taskEdit.tasks = self.tasks.tasks
self.taskEdit.show() self.taskEdit.show()
#@QtCore.Slot()
#def about(self):
#max_line_length = reduce(lambda x, y: max(x, len(y)), text.splitlines(), 0)
#print(max_line_length)
#final_text = ""
#for line in text.splitlines():
# final_text += line.center(max_line_length)
# final_text += "\n"
#print(final_text)
#QtWidgets.QMessageBox.about(None, "About", final_text)
#a = About(None)
#a.show()
def excepthook(original, e_type, e_value, tb_obj): def excepthook(original, e_type, e_value, tb_obj):
if e_type is FimeException: if e_type is FimeException: