You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
You can build sgpt into a single binary file using pyinstaller. It will include all dependencies along with the Python interpreter, dynamically linked libraries, and the app into a single package.
This process generates a "dist" directory containing the binary file "app" that you can execute with ./app --help.
Please note:
The binary will be compatible with the operating system and architecture you compile it on. For example, if you compile your Python script into a binary on a Linux machine, the resulting binary will only be compatible with Linux.
This method may lead to significant performance degradation.
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: