Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making a standalone executable? #115

Closed
gitdjc opened this issue Mar 1, 2018 · 1 comment
Closed

Making a standalone executable? #115

gitdjc opened this issue Mar 1, 2018 · 1 comment
Labels

Comments

@gitdjc
Copy link

gitdjc commented Mar 1, 2018

I've written a batch program using phonenumbers. On my Windows system with Python 3.6.4 installed, it works as intended, but I'd like to redistribute it as a standalone Windows executable. However, I'm hitting two barriers: first, I'm a rank beginner with Python, and the details of the Python environment are still a slog for me. Second, the .EXE program throws an exception in trying to dynamically load country data to parse a number, and I haven't managed to figure out how to incorporate dynamically loaded modules into a standalone executable. (The failure was in a "try" clause, so it took me a while to locate it.) My own system has all the memory I'd need to preload all parsing data up front, so I'd prefer to do things that way.

Solutions, suggestions, hints, thoughts? A fully-worked example somewhere?

@daviddrysdale
Copy link
Owner

Sorry, I've got no idea about building standalone Windows .exes I'm afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants