From: Barış Metin Date: Fri, 22 Oct 2010 14:38:46 +0000 (+0200) Subject: import pyqt4 after setting the paths. this was all working before as we were setting... X-Git-Tag: sface-0.1-4~4^2 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=4aefa573d22829761128561c2366c59ce247cc46;ds=sidebyside import pyqt4 after setting the paths. this was all working before as we were setting the paths in a bash script. --- diff --git a/sface-run b/sface-run index 5c121e6..48650dc 100755 --- a/sface-run +++ b/sface-run @@ -3,7 +3,6 @@ import os import sys from optparse import OptionParser -from PyQt4.QtGui import * sys.path.insert(0, ".") exe = os.path.abspath(sys.argv[0]) @@ -47,6 +46,7 @@ elif sys.platform == "linux2": sys.path.extend(["/usr/share", "/usr/share/sface"]) +from PyQt4.QtGui import * from sface.mainwindow import MainWindow from sface.config import config