"--confirm-license", "-b", bp, "-d", os.path.join(bp, "Lib", "site-packages"), "-v", os.path.join(bp, "sip", "PyQt5"), "--sip-incdir", os.path.join(bp, "Include"), "--spec=win32-msvc"], env=pyqt5_env(), cwd=self._context["build_path"], shell=True, stdout=sout, stderr=serr) proc.communicate() if proc.returncode != 0: logging.error("failed to run pyqt configure.py (returncode %s), see %s and %s", proc.returncode, soutpath, serrpath) return False return True Project("PyQt5") \ .depend(build.Execute(copy_pyd) .depend(Patch.Copy([os.path.join(qt_inst_path(), "bin", "Qt5Core.dll"), os.path.join(qt_inst_path(), "bin", "Qt5Xml.dll")], doclambda(lambda: python.python['build_path'], "python path")) .depend(build.Make(environment=lazy.Evaluate(pyqt5_env)).install() .depend(PyQt5Configure() .depend("sip") .depend("Qt5") .depend(sourceforge.Release("pyqt", "PyQt5/PyQt-{0}/PyQt5_gpl-{0}.zip" .format(pyqt_version), tree_depth=1))))))
stderr=serr) proc.communicate() if proc.returncode != 0: logging.error( "failed to install PyQt5.sip (returncode %s), see %s and %s", proc.returncode, soutpath, serrpath) return False return True if config.get('Appveyor_Build', True): Project("PyQt5") \ .depend(build.Execute(copy_files) .depend(Patch.Copy([os.path.join(qt_inst_path(), "bin", "Qt5Core.dll"), os.path.join(qt_inst_path(), "bin", "Qt5Xml.dll")], doclambda(lambda: os.path.join(python.python["build_path"], "PCbuild", arch), "python path")) .depend( urldownload.URLDownload( config.get('prebuilt_url') + "PyQt5_gpl-prebuilt-{0}.7z" .format(pyqt_version), name="PyQt5-prebuilt", clean=False ) .set_destination("python-{}".format(python_version)) .depend("sip") .depend("Qt5") ) ) ) else: if pyqt_dev: pyqt_source = urldownloadany.URLDownloadAny(( urldownload.URLDownload(
"-d", os.path.join(bp, "Lib", "site-packages"), "-v", os.path.join(bp, "sip", "PyQt5"), "--sip-incdir", os.path.join(bp, "Include")], env=pyqt5_env(), cwd=self._context["build_path"], shell=True, stdout=sout, stderr=serr) proc.communicate() if proc.returncode != 0: logging.error("failed to run pyqt configure.py (returncode %s), see %s and %s", proc.returncode, soutpath, serrpath) return False return True Project("PyQt5") \ .depend(patch.Copy([os.path.join(qt5.qt_inst_path, "bin", "Qt5Core.dll"), os.path.join(qt5.qt_inst_path, "bin", "Qt5Xml.dll")], doclambda(lambda: python.python['build_path'], "python path")) .depend(build.Make(environment=lazy.Evaluate(pyqt5_env)).install() .depend(PyQt5Configure() .depend("sip").depend("Qt5") .depend(sourceforge.Release("pyqt", "PyQt5/PyQt-{0}.{1}/PyQt-gpl-{0}.{1}.zip" .format(qt5.qt_version, qt5.qt_version_minor), tree_depth=1)) ) ) )