-
Notifications
You must be signed in to change notification settings - Fork 46
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 Windows Standalone Executable #63
Comments
Got it 👍
Notes
Reference links
|
Addendum: To place a shortcut on the desktop, we need to set absolute paths of where the program folder is, in both Target and Start-in fields. The Target of course needs to point to the exe at [folder]/dist/GTFSManager/GTFSManager.exe, This might help in automating things: https://superuser.com/questions/631243/set-start-in-directory-for-a-shortcut-using-batch-commands Re-opening this issue to keep it open for more ideas. |
A little note on why the distribution size was initially 20 times bigger (600 MB): I had installed It loops in a package named Here's the link to the stackoverflow answer that saved the windows version plan: https://stackoverflow.com/a/48846546/4355695 Update: Issue filed with conda after digging a bit more into mkl: conda-forge/numpy-feedstock#84 Update: Got a recommendation from conda devs to still use |
Some explanation for the point in the notes about pycryptodome, pycyptodomex, pycrypto : https://stackoverflow.com/a/50009769/4355695 |
Update, Oct 2018:
Commands for creating, on anaconda/miniconda prompt, with current folder being the program folder
last 2 lines: generated exe is move to top, and extra folders created by pyinstaller in build process are removed. Notes for users:Universal C Runtime driver requirementThis program requires a small driver called "Universal C Runtime". It is usually covered in Windows Update and is already present in win10, but in case your system doesn't have it, please install it from here: https://support.microsoft.com/en-gb/help/2999226/update-for-universal-c-runtime-in-windows Without this, on running the exe you may get a popup error sayng: BrowserOn starting, the program will open a dos box for console output, and spawn a browser tab to load the static GTFS Manager interface. We recommend using Chrome or Chromium browser, else Firefox. If the tool opens up in Internet Explorer (because that's still set as your defaul browser), then please copy the URL (like localhost:5000) and open it in Chrome / Chromium / Firefox. |
Collecting notes here from the trials to make a standalone windows executable.
The text was updated successfully, but these errors were encountered: