summaryrefslogtreecommitdiff
path: root/bin/build-python
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-05-28 20:53:42 +0200
committerGitHub <noreply@github.com>2023-05-28 20:53:42 +0200
commitc95a28270d81ed7246a85a701956d2dde1866f60 (patch)
tree8544b880a289b4c0f8d5d9136598586ecdeb1c35 /bin/build-python
parent784996a62bfa966963a45496c905af4c611394d3 (diff)
import gi (#2330)
Diffstat (limited to 'bin/build-python')
-rwxr-xr-xbin/build-python5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-python b/bin/build-python
index b8dd61ba..242a609c 100755
--- a/bin/build-python
+++ b/bin/build-python
@@ -23,6 +23,11 @@ if [ "$BUILD" = "osx" ]; then
fi
fi
+if [ "$BUILD" = "linux" ]; then
+ pyinstaller_args+="--hidden-import gi.repository.Gtk "
+fi
+
+
if [ "$BUILD" = "windows" ]; then
if [[ "$VERSION" =~ ^v[0-9][.0-9]+$ ]]; then
# setting the file and product version for release