-
Notifications
You must be signed in to change notification settings - Fork 18
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
Create / Release GitOps CLI as a binary #104
Comments
PyInstaller can't cross-compile windows binaries from linux (pyinstaller/pyinstaller#2613). I guess we could work around that with wine (e.g. https://github.com/cdrx/docker-pyinstaller) ...already feels a bit hacky though 🛠️ |
One option for systems with Python installed (most linuxes) already would be to release an actual installation package for pip (zip, wheel) and use console scripts (I see you already provide one in setup.py) |
if you have problem with pyinstaller and you can use --hidden-import |
The GitOps CLI should be released as a self contained binary so it could be used without Docker or Python installed locally.
It would be the best if it would be included in the release step.
To create a binary for a Python application I tested PyInstaller which worked great so far:
Afterwards, the executable binary is available under
dist/gitopscli
Releasing the GitOps CLI as binary would open the door to add developer. I'm thinking about commands like:
etc.
The text was updated successfully, but these errors were encountered: