2016-04-25 15:47:27 +00:00
|
|
|
diff -up PyQt5_gpl-5.6/configure.py.orig PyQt5_gpl-5.6/configure.py
|
|
|
|
--- PyQt5_gpl-5.6/configure.py.orig 2016-04-24 05:55:08.000000000 -0500
|
|
|
|
+++ PyQt5_gpl-5.6/configure.py 2016-04-24 18:39:26.144925768 -0500
|
2015-06-04 22:42:37 +00:00
|
|
|
@@ -25,6 +25,7 @@ import os
|
|
|
|
import shutil
|
|
|
|
import stat
|
|
|
|
import sys
|
|
|
|
+import sipconfig
|
|
|
|
|
|
|
|
|
|
|
|
# Initialise the constants.
|
2016-04-25 15:47:27 +00:00
|
|
|
@@ -476,7 +477,7 @@ class TargetConfiguration:
|
2015-06-04 22:42:37 +00:00
|
|
|
self.pyqt_bin_dir = py_config.bin_dir
|
|
|
|
self.pyqt_module_dir = py_config.module_dir
|
2016-04-25 15:47:27 +00:00
|
|
|
self.pyqt_stubs_dir = os.path.join(py_config.module_dir, 'PyQt5')
|
2015-06-04 22:42:37 +00:00
|
|
|
- self.pyqt_sip_dir = os.path.join(py_config.data_dir, 'sip', 'PyQt5')
|
|
|
|
+ self.pyqt_sip_dir = os.path.join(sipconfig.Configuration().default_sip_dir, 'PyQt5')
|
|
|
|
self.pyuic_interpreter = py_config.pyuic_interpreter
|
|
|
|
|
|
|
|
# The qmake spec we want to use.
|