aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-10-23 21:01:15 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-10-24 03:04:13 +0300
commit4d8548aa0653fba8f7a5b83dad7bc4c220046a76 (patch)
treee54b86a79c53655dd7b5272b180c40c35a2e8bd8
parent034b3a92d97bf688be2aba5e5acfcc1e774b83e3 (diff)
downloadmeson-4d8548aa0653fba8f7a5b83dad7bc4c220046a76.zip
meson-4d8548aa0653fba8f7a5b83dad7bc4c220046a76.tar.gz
meson-4d8548aa0653fba8f7a5b83dad7bc4c220046a76.tar.bz2
Fix MSI creation with Python 3.10.
-rwxr-xr-xpackaging/createmsi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/createmsi.py b/packaging/createmsi.py
index 72ac450..599e607 100755
--- a/packaging/createmsi.py
+++ b/packaging/createmsi.py
@@ -173,6 +173,8 @@ class PackageGenerator:
pyinstaller_tmpdir]
for m in modules:
pyinst_cmd += ['--hidden-import', m]
+ # https://github.com/pyinstaller/pyinstaller/issues/5693
+ pyinst_cmd += ['--exclude-module', '_bootlocale']
pyinst_cmd += ['meson.py']
subprocess.check_call(pyinst_cmd)
shutil.move(pyinstaller_tmpdir + '/meson', main_stage)