Fix PyQt compilation on XCode 12 (macOs 11)
This patch Fixes compilation step for ext_pyqt depedency on XCode 12. On such version pyqt-builder build step fails to recognize given PYTHONPATH and tries to install sip version so system which fails. Aborting the entire operation.
This patch makes pyqt-builder be build using compiled python3 pip. which ensures correct installation for further build steps in ext_pyqt.
Sip was updated to 6.1.1, but it is not a hard requirement for the build to succeed
Also
- Adds Python.Framework bin to PATH
- Adds Pip3 upgrade step
- Patches out dependency files from pyqt-builder
- Removes ALWAYS flag from python. this flag set to 0 causes rebuilds on every depbuild call.
Testing
Compiles correctly on x86_46 and arm64 on M1 Mac, and universal builds
Edited by Ivan Yossi