diff --git a/src/artisan-linux.spec b/src/artisan-linux.spec index 7c013fa98..2f92c29ed 100644 --- a/src/artisan-linux.spec +++ b/src/artisan-linux.spec @@ -29,7 +29,7 @@ a = Analysis(['artisan.py'], datas=[], hookspath=[], runtime_hooks=[], - excludes=[], + excludes=['PyQt5'], hiddenimports=hiddenimports_list, win_no_prefer_redirects=False, win_private_assemblies=False, diff --git a/src/build-linux.sh b/src/build-linux.sh index 03ed96cef..f206ec7f7 100755 --- a/src/build-linux.sh +++ b/src/build-linux.sh @@ -56,7 +56,7 @@ else ln -s /usr/lib/libusb-1.0.so.0 fi -pyinstaller -y --log-level=INFO --exclude-module PyQt5 artisan-linux.spec +pyinstaller -y --log-level=INFO artisan-linux.spec mv dist/artisan dist/artisan.d mv dist/artisan.d/* dist