Fix detection of sip4-tqt and python-tqt modules

pull/1/head
Francois Andriot 11 years ago committed by Slávek Banko
parent b045832a49
commit 9d39e8110a

@ -30,14 +30,14 @@ import shutil
import py_compile import py_compile
try: try:
import sipconfig from sip4_tqt import sipconfig
except: except:
print ("Can't find sipconfig.py (expected in sys.path)") print ("Can't find sipconfig.py (expected in sys.path)")
print ("Have you built the correct version of sip?") print ("Have you built the correct version of sip?")
sys.exit (-1) sys.exit (-1)
try: try:
import pyqtconfig from python_tqt import pyqtconfig
except: except:
sipconfig.error ("Can't find pyqtconfig.py in sys.path - exiting") sipconfig.error ("Can't find pyqtconfig.py in sys.path - exiting")

@ -22,7 +22,8 @@
# modules that %Import PyKDE modules. # 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. # These are installation specific values created when PyTQt was configured.

Loading…
Cancel
Save