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
Activity
christiansiegel commentedon Sep 11, 2020
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 🛠️
janbrohl commentedon Dec 15, 2020
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.
epanoff commentedon Mar 27, 2023
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