Browse Source

Add python version and pyqt version to the verbose log

master
Nils 4 years ago
parent
commit
8a8d2eaab3
  1. 4
      engine/start.py
  2. 1
      qtgui/mainwindow.py

4
engine/start.py

@ -59,7 +59,6 @@ else:
logger = logging.getLogger(__name__)
logger.info("import")
"""set up python search path before the program starts and cbox gets imported.
We need to be earliest, so let's put it here.
This is influence during compiling by creating a temporary file "compiledprefix.py".
@ -71,6 +70,9 @@ Nuitka complies that in, when make is finished we delete it.
import sys
import os
import os.path
logger.info(f"Python Version {sys.version}")
try:
from compiledprefix import prefix
compiledVersion = True

1
qtgui/mainwindow.py

@ -27,6 +27,7 @@ from sys import exit as sysexit
#Third Party
from PyQt5 import QtCore, QtGui, QtWidgets
logger.info(f"PyQt Version: {QtCore.PYQT_VERSION_STR}")
#Engine
from engine.config import METADATA #includes METADATA only. No other environmental setup is executed.

Loading…
Cancel
Save