summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2014-01-18 15:55:38 +0100
committerSlávek Banko <[email protected]>2014-01-18 15:55:38 +0100
commitbef776509e53d0582ae91bb3edf8d19a1593a9a9 (patch)
tree20875511ad6c6b2e688d0599397dd4570ea6d80b
parenta5826757d6f0d51f83502b9742ef090414042d67 (diff)
downloadpytqt-bef776509e53d0582ae91bb3edf8d19a1593a9a9.tar.gz
pytqt-bef776509e53d0582ae91bb3edf8d19a1593a9a9.zip
Fix detection of sip4-tqt module
-rw-r--r--build.py2
-rw-r--r--configure.py2
-rw-r--r--pyqtconfig.py.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/build.py b/build.py
index 94fb195..492e313 100644
--- a/build.py
+++ b/build.py
@@ -35,7 +35,7 @@ import string
# Get the SIP configuration.
try:
- import sipconfig
+ from sip4_tqt import sipconfig
except:
print "Unable to import the sipconfig module. Please make sure you have"
print "SIP v3.9 or later installed."
diff --git a/configure.py b/configure.py
index 5f92ea6..8f9a077 100644
--- a/configure.py
+++ b/configure.py
@@ -28,7 +28,7 @@ import getopt
import shutil
import py_compile
-import sipconfig
+from sip4_tqt import sipconfig
src_dir = os.path.dirname(os.path.abspath(__file__))
diff --git a/pyqtconfig.py.in b/pyqtconfig.py.in
index 1717e84..ee3809c 100644
--- a/pyqtconfig.py.in
+++ b/pyqtconfig.py.in
@@ -21,7 +21,7 @@
# modules that %Import PyTQt modules.
-import sipconfig
+from sip4_tqt import sipconfig
# These are installation specific values created when PyTQt was configured.