Blame python-qt5_sipdir.patch

Rex Dieter 69e8521
diff -up PyQt5_gpl-5.9/configure.py.sipdir PyQt5_gpl-5.9/configure.py
Rex Dieter 69e8521
--- PyQt5_gpl-5.9/configure.py.sipdir	2017-07-03 12:24:48.000000000 -0500
Rex Dieter 69e8521
+++ PyQt5_gpl-5.9/configure.py	2017-07-05 20:31:35.319524089 -0500
159a14e
@@ -25,6 +25,7 @@ import os
159a14e
 import shutil
159a14e
 import stat
159a14e
 import sys
159a14e
+import sipconfig
159a14e
 
159a14e
 
159a14e
 # Initialise the constants.
Rex Dieter 1053459
@@ -485,7 +486,7 @@ class TargetConfiguration:
159a14e
         self.pyqt_bin_dir = py_config.bin_dir
159a14e
         self.pyqt_module_dir = py_config.module_dir
Rex Dieter fccf802
         self.pyqt_stubs_dir = os.path.join(py_config.module_dir, 'PyQt5')
159a14e
-        self.pyqt_sip_dir = os.path.join(py_config.data_dir, 'sip', 'PyQt5')
159a14e
+        self.pyqt_sip_dir = os.path.join(sipconfig.Configuration().default_sip_dir, 'PyQt5')
159a14e
         self.pyuic_interpreter = py_config.pyuic_interpreter
159a14e
 
Rex Dieter 69e8521
         # Remaining values.