Add build helper for PyInstaller (fixes #22).
This commit is contained in:
parent
90dfceaeb1
commit
2f61ecb721
2 changed files with 3 additions and 0 deletions
1
scripts/build-exe.cmd
Normal file
1
scripts/build-exe.cmd
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pyinstaller -y --onefile --additional-hooks-dir=. ../dosage
|
2
scripts/hook-dosagelib.py
Normal file
2
scripts/hook-dosagelib.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
from PyInstaller.utils.hooks import collect_submodules
|
||||||
|
hiddenimports = collect_submodules('dosagelib.plugins')
|
Loading…
Reference in a new issue