summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2014-01-18 16:12:39 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-18 16:12:39 +0100
commit9d39e8110a37f9628468a57ffc11e9226399df28 (patch)
tree589fb38e5153b5fa0c73b2b9f93d80941e14cb22
parentb045832a49ca48155551735700675e6d0664f233 (diff)
downloadpytde-9d39e8110a37f9628468a57ffc11e9226399df28.tar.gz
pytde-9d39e8110a37f9628468a57ffc11e9226399df28.zip
Fix detection of sip4-tqt and python-tqt modules
-rw-r--r--configure.py4
-rw-r--r--pytdeconfig.py.in3
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.