diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-10-23 21:01:15 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-10-23 21:01:15 +0300 |
commit | af0e24d01548105542259e5f1e9d1f5022f0bb0a (patch) | |
tree | e54b86a79c53655dd7b5272b180c40c35a2e8bd8 | |
parent | 034b3a92d97bf688be2aba5e5acfcc1e774b83e3 (diff) | |
download | meson-py310msi.zip meson-py310msi.tar.gz meson-py310msi.tar.bz2 |
Fix MSI creation with Python 3.10.py310msi
-rwxr-xr-x | packaging/createmsi.py | 2 |
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) |