Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce distribution size with install-only-stripped builds #159

Open
Coruscant11 opened this issue Aug 14, 2024 · 2 comments · May be fixed by #160
Open

Reduce distribution size with install-only-stripped builds #159

Coruscant11 opened this issue Aug 14, 2024 · 2 comments · May be fixed by #160

Comments

@Coruscant11
Copy link
Contributor

Hello! 👋

Since the 20240726 release of python-build-standalone, a new kind of distributions builds are available.

A new install_only_stripped variant is now included in the release (indygreg/python-build-standalone#279). These builds are constructed by taking the install_only variant for each platform and stripping any debug symbols. The resulting builds are significantly smaller, especially on Windows and Linux, but omit debugging symbols. The install_only builds continue to preserve such symbols.

=> Smaller binaries with embeded distributions, and smaller downloads 🚀

Some examples:
image

image

I will make a related pull-request 🙂

@T-256
Copy link
Contributor

T-256 commented Aug 31, 2024

How about using uv as downstream python bootstrapper?

@Coruscant11
Copy link
Contributor Author

Coruscant11 commented Sep 1, 2024

How about using uv as downstream python bootstrapper?

Indeed, I agree to the idea, but currently pyapp also supports regular pip too..
But could be discussed for a future PR I guess

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 a pull request may close this issue.

2 participants