Skip to content

Commit ca7e57e

Browse files
committed
move exclude to spec file [skip ci]
1 parent fb09466 commit ca7e57e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/artisan-linux.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ a = Analysis(['artisan.py'],
2929
datas=[],
3030
hookspath=[],
3131
runtime_hooks=[],
32-
excludes=[],
32+
excludes=['PyQt5'],
3333
hiddenimports=hiddenimports_list,
3434
win_no_prefer_redirects=False,
3535
win_private_assemblies=False,

src/build-linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ else
5656
ln -s /usr/lib/libusb-1.0.so.0
5757
fi
5858

59-
pyinstaller -y --log-level=INFO --exclude-module PyQt5 artisan-linux.spec
59+
pyinstaller -y --log-level=INFO artisan-linux.spec
6060

6161
mv dist/artisan dist/artisan.d
6262
mv dist/artisan.d/* dist

0 commit comments

Comments
 (0)