-
-
Notifications
You must be signed in to change notification settings - Fork 765
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
Statically compiled binary #291
Comments
You can build git clone https://github.com/TheR1D/shell_gpt.git
cd shell_gpt
python3 -m venv venv
source venv/bin/activate
pip install pyinstaller
pip install -e .
cd sgpt
pyinstaller --onefile app.py This process generates a "dist" directory containing the binary file "app" that you can execute with Please note:
|
THANK YOU... 🙏 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a portable shell environment that contains lots of statically compiled binaries, and I bring it to multiple machines/servers that I mange regularly. I can encounter a system that doesn't necessarily has python installed nor have internet connection/admin privileges to install it.
Is there a way to build shell_gpt into a single binary file that I can run on different machines without dependency issues?
I know that I won't be able to use it without internet anyways, but it would be helpful to have it nonetheless if its possible.
So, if you don't have the time to add it in next release, could you point me how to build it myself.
Thank you
The text was updated successfully, but these errors were encountered: