Skip to content

Single-file, standalone cosmopolitan builds - #173

Open
bjia56 wants to merge 5 commits into
mainfrom
cosmo-standalone
Open

Single-file, standalone cosmopolitan builds#173
bjia56 wants to merge 5 commits into
mainfrom
cosmo-standalone

Conversation

@bjia56

@bjia56 bjia56 commented Jul 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

bjia56 added 5 commits July 28, 2026 14:42
Appends lib/ and licenses/ to a copy of python.com's own zip store, so
the resulting python.standalone.com runs from a single file with no
sibling directory needed. Relies on the __COSMOPOLITAN__ /zip/lib
landmark added in the cmake-buildsystem's getpath portable-prefix
patch. Rides along in the existing cosmo release archives, no new
artifact or CI wiring.
Runs the same version/sysconfig/import/pip checks against
python.standalone.com after copying it out to an empty temp dir, so
the standalone build is verified to work with no sibling files
present rather than just trusting it builds.
they can't be used for anything at runtime anyways
Standalone zip store doesn't need them since they can't build native
extensions there anyway, but the full tar/zip bundle should still
ship them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant