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
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")

@ -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.

Loading…
Cancel
Save