init_venv: Change sip glob to include .pyd
This commit is contained in:
parent
58f210e9cf
commit
cda848855a
@ -112,7 +112,8 @@ def link_pyqt():
|
||||
venv_path = venv_python(
|
||||
'-c', 'from distutils.sysconfig import get_python_lib\n'
|
||||
'print(get_python_lib())', output=True).rstrip()
|
||||
globbed_sip = glob.glob(os.path.join(sys_path, 'sip*.so'))
|
||||
globbed_sip = (glob.glob(os.path.join(sys_path, 'sip*.so')) +
|
||||
glob.glob(os.path.join(sys_path, 'sip*.pyd')))
|
||||
if not globbed_sip:
|
||||
print("Did not find sip in {}!".format(sys_path), file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user