Skip to main content
Metaist

cosmofy 0.1.0

Bundle python code into an executable that run on Linux, macOS, and Windows.

cosmofy 0.1.0 is available. Shalev NessAiver had a great suggestion to turn my post about bundling python code into Cosmopolitan apps into a Cosmopolitan app.

To install cosmofy:

dest=~/.local/bin/cosmofy
curl -sSz $dest -o $dest -L \
  https://github.com/metaist/cosmofy/releases/latest/download/cosmofy
chmod +x $dest

Read more.

Release Notes 0.1.0 - 2024-09-18T18:55:19Z #

Bootstrap #

The primary purpose of this initial release is to be able to use cosmofy to build cosmofy.

Self-Updating #

The secondary purpose was to make it easy to add self-updating while bundling the app. I have a longer post describing how cosmofy intercepts python command line arguments to check if --self-update is present in sys.argv.

Releases #

Just some clean up to the release notes (which I kept) and having GitHub build the artifacts itself (which I later reverted).