Compare commits

..

No commits in common. "5584eb4d6bf0438952a606543f31db96456249b7" and "be60aafa00f2c7a6843105949e15b4acce34094c" have entirely different histories.

3 changed files with 14 additions and 3 deletions

View File

@ -28,8 +28,6 @@ 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 fime._version import __version__, __version_tuple__ from _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,6 +163,19 @@ 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: