Skip to content

Instantly share code, notes, and snippets.

@porteusconf
Last active February 24, 2024 04:05
Show Gist options
  • Save porteusconf/d7a06baa543db7238756c5901426fa63 to your computer and use it in GitHub Desktop.
Save porteusconf/d7a06baa543db7238756c5901426fa63 to your computer and use it in GitHub Desktop.
setup venv to have cx_Freeze create standalone executables from Python scripts, is cross-platform, and should work on any platform that Python itself works on.
### https://marcelotduarte.github.io/cx_Freeze/
### https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade cx_Freeze
### for appimage https://cx-freeze--2050.org.readthedocs.build/en/2050/setup_script.html#bdist-appimage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment