[PyQt] --static configure of sip tries to install sip.pyd not sip.lib
sda at fstab.net
Thu Jul 19 19:35:35 BST 2018
It looks like the SIP configure.py is getting an extension wrong when
--static is specified. It writes 'sip.pyd' to 'installed.txt' rather
than 'sip.lib'. This results in the install setp failing because the
.pyd is not present.
FileNotFoundError: [Errno 2] No such file or directory:
mod_ext = '.pyd' if sys.platform == 'win32' else '.so'
if sys.platform == 'win32':
mod_ext = '.lib' if opts.static else '.pyd'
mod_ext = '.so'
I observed this directly in 4.19.12 but at least the symptom was present
Then again, maybe something else entirely is the issue since I really
don't know my way around these builds.
More information about the PyQt