[PyQt] PyQt5 install fails with parallelized make

Phil Thompson phil at riverbankcomputing.com
Mon Jan 6 17:55:15 GMT 2020


On 06/01/2020 17:48, Eli Schwartz wrote:
> On 1/6/20 12:07 PM, Dmitry Shachnev wrote:
>> On Mon, Jan 06, 2020 at 04:32:56PM +0000, Phil Thompson wrote:
>>> Sorry, I'm not changing configure.py now that it is deprecated.
>> 
>> That is fine. I'm going to switch to the new tooling in Debian once I 
>> am
>> able to drop Python 2 support. So far Calibre is the only major 
>> blocker
>> for that.
> 
> Arch Linux currently builds pyqt5 using sip-build for the python3
> version, and configure.py for the python2 version. Perhaps you could do
> the same, and pin the latter at make -j1 ?
> 
>> As I understand, PyQt-builder generates a .pro file that is very 
>> similar
>> to one generated by configure.py. Can you make it add a line like 
>> this?
>> 
>>   distinfo.depends = install_subtargets install_init_py 
>> install_uic_package install_pylupdate install_pyrcc install_tools 
>> install_pep484_stubs install_qscintilla_api
> 
> ... and then you could test out these interactions.

Don't you guys use the options to concatenate all the generated code 
into one .cpp file? Windows is the only platform where you need to use 2 
.cpp files.

Phil


More information about the PyQt mailing list