You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to pass extra arguments to pyinstaller for my main app.
Right now, I'm using a build.py script which I execute like so: python build.py freeze_all
In my freeze_all function, I have the fbs.builtin_commands.freeze function to build my main app. But the builtin_commands.freeze function does not accept any arguments. I'm noticing that that freeze_windows, freeze_mac, freeze_arch, freeze_linux already takes the extra_pyinstaller_args argument, but the fbs.builtin_commands.freeze function does not. So in my mind, a very quick fix for this would be to make the fbs.builtin_commands.freeze function accept a new extra_pyinstaller_args argument which would be passed on to the freeze_windows, freeze_mac, freeze_arch, freeze_linux functions.
I wouldn't mind whipping up a PR if you think it's a good idea.
The background to why I am looking to do this is I wish to add a hooks folder, which I ideally want placed in my project's root (not in src/main/python). I would then want to pass the --additional-hooks-dir as an extra pyinstaller argument when building the main app.
The text was updated successfully, but these errors were encountered:
I'm looking to pass extra arguments to pyinstaller for my main app.
Right now, I'm using a build.py script which I execute like so:
python build.py freeze_all
In my
freeze_all
function, I have thefbs.builtin_commands.freeze
function to build my main app. But thebuiltin_commands.freeze
function does not accept any arguments. I'm noticing that thatfreeze_windows
,freeze_mac
,freeze_arch
,freeze_linux
already takes theextra_pyinstaller_args
argument, but thefbs.builtin_commands.freeze
function does not. So in my mind, a very quick fix for this would be to make thefbs.builtin_commands.freeze
function accept a newextra_pyinstaller_args
argument which would be passed on to thefreeze_windows
,freeze_mac
,freeze_arch
,freeze_linux
functions.I wouldn't mind whipping up a PR if you think it's a good idea.
The background to why I am looking to do this is I wish to add a hooks folder, which I ideally want placed in my project's root (not in src/main/python). I would then want to pass the
--additional-hooks-dir
as an extra pyinstaller argument when building the main app.The text was updated successfully, but these errors were encountered: