Issues with pyinstaller #184
Unanswered
thomasrunge
asked this question in
Q&A
Replies: 2 comments
-
This fixes runs with pyinstaller-made exe files, but disturbs non-pyinstaller-runs. The better (correct?) solution now works fine for me in every scenario: In schwifty\registry.py line 48:
change to:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue should be fixed in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Schwifty doesn't work nicely with pyinstaller by default when using the "--onefile"-option. Here is a solution that works for me, just in case someone is interested.
In your pyinstaller-spec file add this:
and use
This copies the generated json files ("bank_registry" and "iban_registry") to your executable. As this adds a subdirectory with the name of the package ("schwifty") and our own directories below that, we need to adjust registry.py: change line 53
from
to
Beta Was this translation helpful? Give feedback.
All reactions