From 1c7dbf0db5c8498294bb19162c26348db9b841ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= Date: Thu, 23 Feb 2023 23:33:59 -0500 Subject: [PATCH] Fix: ImportError: cannot import name 'SetVersion' in Python 3.10.10 --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b723bfd4..cf2601bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,8 @@ jobs: - name: Build Translations run: python setup.py build_trans - name: Build PyInstaller - run: python setup.py pyinstaller + run: | + pyinstaller -w -F --icon=youtube_dl_gui/data/pixmaps/youtube-dl-gui.ico --add-data="youtube_dl_gui/data;youtube_dl_gui/data" --add-data="youtube_dl_gui/locale;youtube_dl_gui/locale" --exclude-module=tests --version-file=file_version_info.txt --noconfirm --name=yt-dlg youtube_dl_gui/__main__.py - name: Dump version id: dump_version shell: python