-
Notifications
You must be signed in to change notification settings - Fork 0
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
bundling #19
Conversation
This is useful for whoever prefers to keep the venv in the same folder
A placeholder is added until the real functionality is implemented
Apparently, pipenv doesn't escape them properly when parsing TOML and it should have been '\\\\' for one '\', which is ridiculous.
There's an issue on Linux, you can find its description here. Seems like it's relatively fresh, so the fix isn't merged into Pyinstaller yet. I'm not sure if Pipenv can handle installing random ZIP files, so I guess we may just have to tell Kruglov to wait (or forget about it, he has Windows anyway) |
The issue seems to talk about Arch only. Any info if it is reproduceable on Debian/Ubuntu as well? |
Please, our CI is more ignored than anything, don't even bother) I don't know about Ubuntu (though I could pull up a USB stick and live boot, but) perhaps @IamMaxim could try it on his Ubuntu? |
Adds PyInstaller as a dev-dependency for building a bundle to be distributed directly, along with script shortcuts and instructions. Additionally, I disabled the ugly TensorFlow warnings
The unix version needs testing. I only tested on Windows.
If the dist looks too bloated, or we don't want the user to search through the whole folder for the main executable, it is possible to bundle it in a single file, but that doesn't seem to be highly advisable.
I have also not yet tried any optimization flags.