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
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)
For Windows users (without Python) Pyinstaller is still an option - or just a prepackaged pypy zip / install Script.
if you have problem with pyinstaller and
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gitlab.v4'
[11927] Failed to execute script 'main' due to unhandled exception!
you can use --hidden-import pyinstaller gitopscli/__main__.py --hidden-import gitlab.v4 --hidden-import gitlab.v4.objects -n gitopscli --onefile
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: