Copy in python3.dll as PyQt links against it instead of python38.dll

This commit is contained in:
Kovid Goyal 2019-12-03 11:17:19 +05:30
parent 6adbf803aa
commit e52848671a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -154,7 +154,8 @@ def freeze(env, ext_dir):
copybin(f)
copybin(os.path.join(env.python_base, 'python%s.dll' % env.py_ver.replace('.', '')))
for x in glob.glob(os.path.join(env.python_base, 'DLLs', '*')): # python pyd modules
copybin(os.path.join(env.python_base, 'python%s.dll' % env.py_ver[0]))
for x in glob.glob(os.path.join(env.python_base, 'DLLs', '*')): # python pyd modules and dlls
copybin(x)
for f in walk(os.path.join(env.python_base, 'Lib')):
if f.lower().endswith('.dll') and 'scintilla' not in f.lower():