From 2f61ecb72162df9e000c31032e5d3dfc05c9188f Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sun, 20 Mar 2016 21:42:41 +0100 Subject: [PATCH] Add build helper for PyInstaller (fixes #22). --- scripts/build-exe.cmd | 1 + scripts/hook-dosagelib.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 scripts/build-exe.cmd create mode 100644 scripts/hook-dosagelib.py diff --git a/scripts/build-exe.cmd b/scripts/build-exe.cmd new file mode 100644 index 000000000..18500ad17 --- /dev/null +++ b/scripts/build-exe.cmd @@ -0,0 +1 @@ +pyinstaller -y --onefile --additional-hooks-dir=. ../dosage diff --git a/scripts/hook-dosagelib.py b/scripts/hook-dosagelib.py new file mode 100644 index 000000000..4969e2ea7 --- /dev/null +++ b/scripts/hook-dosagelib.py @@ -0,0 +1,2 @@ +from PyInstaller.utils.hooks import collect_submodules +hiddenimports = collect_submodules('dosagelib.plugins')