Skip to content

Commit 80690b7

Browse files
committed
Updated script for generate a binary distribution in Linux.
1 parent c0ac03e commit 80690b7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

run_pyinstaller_linux.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
#!/bin/bash
22
pyinstaller --noconfirm \
33
--clean --onedir \
4+
--contents-directory "." \
5+
--name=LabControle3 \
46
--add-data="MainWindow.ui:." \
57
--add-data="HelpWindow.ui:." \
68
--add-data="matplotlibwidget.py:." \
9+
--add-data="./help/*:./help" \
10+
--add-data="./images/*:./images" \
11+
--add-data="./images/mpl_toolbar/*:./images/mpl_toolbar"
712
--exclude-module=sqlalchemy \
8-
--hidden-import=PyQt5.sip \
13+
--hidden-import=numpy.core.multiarray \
914
LabControl3.py
10-
cp libstdc++.so.6 dist/LabControl3/
15+
#cp libstdc++.so.6 dist/LabControl3/

0 commit comments

Comments
 (0)