From cae9bf99ffb1bdb62adb6549624c9766cae03b04 Mon Sep 17 00:00:00 2001 From: soxoj <31013580+soxoj@users.noreply.github.com> Date: Tue, 9 Nov 2021 23:14:42 +0300 Subject: [PATCH] Fixes for win32 release (#218) --- .github/workflows/pyinstaller.yml | 2 +- pyinstaller/maigret_standalone.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index b4fde8c..63ad8d6 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -20,5 +20,5 @@ jobs: - uses: actions/upload-artifact@v2 with: - name: maigret_standalone + name: maigret_standalone_win32 path: pyinstaller/dist/windows # or path/to/artifact diff --git a/pyinstaller/maigret_standalone.spec b/pyinstaller/maigret_standalone.spec index a5341ef..3152748 100644 --- a/pyinstaller/maigret_standalone.spec +++ b/pyinstaller/maigret_standalone.spec @@ -5,7 +5,7 @@ datas = [] binaries = [] hiddenimports = [] -full_import_modules = ['maigret', 'socid_extractor', 'arabic_reshaper', 'pyvis', 'reportlab'] +full_import_modules = ['maigret', 'socid_extractor', 'arabic_reshaper', 'pyvis', 'reportlab.graphics.barcode'] for module in full_import_modules: tmp_ret = collect_all(module)