From bef776509e53d0582ae91bb3edf8d19a1593a9a9 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sat, 18 Jan 2014 15:55:38 +0100 Subject: [PATCH] Fix detection of sip4-tqt module --- build.py | 2 +- configure.py | 2 +- pyqtconfig.py.in | 2 +- 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.