From 9d39e8110a37f9628468a57ffc11e9226399df28 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sat, 18 Jan 2014 16:12:39 +0100 Subject: [PATCH] Fix detection of sip4-tqt and python-tqt modules --- configure.py | 4 ++-- pytdeconfig.py.in | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.py b/configure.py index 2de1373..bcf62b0 100644 --- a/configure.py +++ b/configure.py @@ -30,14 +30,14 @@ import shutil import py_compile try: - import sipconfig + from sip4_tqt import sipconfig except: print ("Can't find sipconfig.py (expected in sys.path)") print ("Have you built the correct version of sip?") sys.exit (-1) try: - import pyqtconfig + from python_tqt import pyqtconfig except: sipconfig.error ("Can't find pyqtconfig.py in sys.path - exiting") diff --git a/pytdeconfig.py.in b/pytdeconfig.py.in index 8a871fc..ecfe649 100644 --- a/pytdeconfig.py.in +++ b/pytdeconfig.py.in @@ -22,7 +22,8 @@ # modules that %Import PyKDE modules. -import sipconfig, pyqtconfig +from sip4_tqt import sipconfig +from python_tqt import pyqtconfig # These are installation specific values created when PyTQt was configured.