Skip to content

Commit b5827d1

Browse files
authored
app.py: Remove distutils import (#3778)
1 parent 372bc87 commit b5827d1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/classes/app.py

-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import platform
3333
import sys
3434
import traceback
35-
from distutils.version import LooseVersion
3635

3736
from PyQt5.QtCore import PYQT_VERSION_STR
3837
from PyQt5.QtCore import QT_VERSION_STR
@@ -131,10 +130,6 @@ def __init__(self, *args, mode=None):
131130
self.settings = settings.SettingStore()
132131
self.settings.load()
133132

134-
# Set up distutils Version instance for PyQt version checks
135-
self.pyqt_version = LooseVersion(PYQT_VERSION_STR)
136-
log.debug("Stored PyQt version as %s", repr(self.pyqt_version))
137-
138133
# Init and attach exception handler
139134
from classes import exceptions
140135
sys.excepthook = exceptions.ExceptionHandler

0 commit comments

Comments
 (0)