diff options
author | Paweł Jastrzębski <pawelj@vulturis.eu> | 2014-05-29 18:23:28 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@vulturis.eu> | 2014-05-29 18:23:28 +0200 |
commit | fce3072dca8222f36f6fdc39123cb46b7fb547a6 (patch) | |
tree | 2ce8b37f0740e9155a421767a4ad7a43a6cbdf15 | |
parent | Implemented new DualMetaFix version (diff) | |
download | kcc-fce3072dca8222f36f6fdc39123cb46b7fb547a6.tar.gz kcc-fce3072dca8222f36f6fdc39123cb46b7fb547a6.tar.bz2 kcc-fce3072dca8222f36f6fdc39123cb46b7fb547a6.zip |
Updated to Python 3.4 and PyQt 5.3 (close #94)
-rwxr-xr-x | kcc.py | 1 | ||||
-rw-r--r-- | kcc/KCC_gui.py | 1 | ||||
-rwxr-xr-x | setup.py | 24 |
3 files changed, 14 insertions, 12 deletions
diff --git a/kcc.py b/kcc.py index 7cac49c..370b23c 100755 --- a/kcc.py +++ b/kcc.py @@ -114,6 +114,7 @@ class QApplicationMessaging(QtWidgets.QApplication): self._timeout = 1000 self._server = QtNetwork.QLocalServer(self) if not self.isRunning(): + # noinspection PyUnresolvedReferences self._server.newConnection.connect(self.handleMessage) self._server.listen(self._key) diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index c439f08..0e4a2e0 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -572,6 +572,7 @@ class SystemTrayIcon(QtWidgets.QSystemTrayIcon): def __init__(self): if self.isSystemTrayAvailable(): QtWidgets.QSystemTrayIcon.__init__(self, GUI.icons.programIcon, MW) + # noinspection PyUnresolvedReferences self.activated.connect(self.catchClicks) def catchClicks(self): diff --git a/setup.py b/setup.py index 201ed81..8fce0b6 100755 --- a/setup.py +++ b/setup.py @@ -63,34 +63,34 @@ elif platform == "win32": suffix = '_64' else: suffix = '' - additional_files = [('imageformats', ['C:\Python33' + suffix + + additional_files = [('imageformats', ['C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qgif.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qico.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qjpeg.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qmng.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qsvg.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qtga.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qtiff.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\imageformats\qwbmp.dll']), - ('platforms', ['C:\Python33' + suffix + + ('platforms', ['C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\platforms\qminimal.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\platforms\qoffscreen.dll', - 'C:\Python33' + suffix + + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\platforms\qwindows.dll']), ('', ['LICENSE.txt', 'other\\7za.exe', 'other\\UnRAR.exe', 'other\\Additional-LICENSE.txt', 'other\\7za.exe', - 'C:\Python33' + suffix + '\Lib\site-packages\PyQt5\libEGL.dll'])] + 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\libEGL.dll'])] extra_options = dict( options={'py2exe': {"bundle_files": 2, "dll_excludes": ["tcl85.dll", "tk85.dll"], |