metaist / cosmofy

Cosmopolitan Python Bundler
MIT License
3 stars 0 forks source link

setup: bootstrap cosmofy #1

Closed metaist closed 1 month ago

metaist commented 1 month ago

Once cosmofy is properly built, it will be able to build itself by copying itself, removing cosmofy from the zip.

metaist commented 1 month ago

To bootstrap, we first need to build a version that can download python. However, cosmopolitan python can't securely download from https at the moment (https://github.com/ahgamut/superconfigure/issues/52), so we'll need a workaround.

metaist commented 1 month ago

In the shell-script version, I have to create files and directories that are then pushed into the zip file. Maybe with zipfile, I can just add stuff more directly?

metaist commented 1 month ago

Maybe I can use io to compile the files into memory and then add them directly to the zipfile?