Skip to content

Commit

Permalink
Added PyQt5-sip to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
scrgiorgio committed Apr 29, 2019
1 parent 7dce319 commit 9b38406
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMake/Deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def InstallPyQt5(QT_VERSION):
A=".".join(PyQt5.QtCore.QT_VERSION_STR.split(".")[0:2])
B=".".join( QT_VERSION.split(".")[0:2])
if A==B:
DeployUtils.PipInstall("PyQt5-sip") # make sure sip is installed
print("PyQt5",A,"already installed")
return

Expand All @@ -218,6 +219,7 @@ def InstallPyQt5(QT_VERSION):
for version in versions:
packagename="PyQt5=="+version
if DeployUtils.PipInstall(packagename,["--ignore-installed"]):
DeployUtils.PipInstall("PyQt5-sip",["--ignore-installed"])
print("Installed",packagename)
return

Expand Down

0 comments on commit 9b38406

Please sign in to comment.