Merge pull request #52613 from nyanloutre/pyqt5-fix

pythonPackages.pyqt5: fix sip dependency
This commit is contained in:
Timo Kaufmann 2018-12-21 15:28:50 +01:00 committed by GitHub
commit bfca7082d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ in buildPythonPackage {
'';
postInstall = ''
ln -s ${sip}/${python.sitePackages}/PyQt5/* $out/${python.sitePackages}/PyQt5
for i in $out/bin/*; do
wrapProgram $i --prefix PYTHONPATH : "$PYTHONPATH"
done

View File

@ -14,6 +14,7 @@ buildPythonPackage rec {
configurePhase = ''
${python.executable} ./configure.py \
--sip-module PyQt5.sip \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include
'';