diff --git a/python/configure.py.in b/python/configure.py.in index 9be76177ba8e..890efa5b4131 100644 --- a/python/configure.py.in +++ b/python/configure.py.in @@ -46,8 +46,8 @@ if not os.path.isdir("./gui"): # The name of the SIP build file generated by SIP and used by the build # system. -build_file_core = src_path + "/python/core/core.sbf" -build_file_gui = src_path + "/python/gui/gui.sbf" +build_file_core = build_path + "/python/core/core.sbf" +build_file_gui = build_path + "/python/gui/gui.sbf" # Get the SIP configuration information. config = PyQt4.pyqtconfig.Configuration() @@ -66,9 +66,14 @@ sip_dir_gui = os.path.join(config.default_sip_dir, "qgis/gui") # Run SIP to generate the code. print "Parsing SIP files for 'core' library..." -os.system(" ".join([config.sip_bin, "-c", "core", "-b", build_file_core, "-I", config.pyqt_sip_dir, qt_sip_flags, python_path + "/core/core.sip"])) +cmd = " ".join([config.sip_bin, "-c", "core", "-b", build_file_core, "-I", config.pyqt_sip_dir, qt_sip_flags, python_path + "/core/core.sip"]) +print cmd +os.system(cmd) + print "Parsing SIP files for 'gui' library..." -os.system(" ".join([config.sip_bin, "-c", "gui", "-b", build_file_gui, "-I", python_path, "-I", config.pyqt_sip_dir, qt_sip_flags, python_path + "/gui/gui.sip"])) +cmd = " ".join([config.sip_bin, "-c", "gui", "-b", build_file_gui, "-I", python_path, "-I", config.pyqt_sip_dir, qt_sip_flags, python_path + "/gui/gui.sip"]) +print cmd +os.system(cmd) ##########################################################################