Skip to content

Modify Python embeddable to include get-pip.py #133327

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

Open
blueprintarchitect opened this issue May 3, 2025 · 0 comments
Open

Modify Python embeddable to include get-pip.py #133327

blueprintarchitect opened this issue May 3, 2025 · 0 comments
Labels
build The build process and cross-build OS-windows type-feature A feature request or enhancement

Comments

@blueprintarchitect
Copy link

blueprintarchitect commented May 3, 2025

Feature or enhancement

Proposal:

The embeddable Windows ZIP package is extremely useful for portable apps and offline deployments.
However, it lacks both pip and get-pip.py, which creates significant friction for users who want to use the embeddable version in a modern Python workflow.
The embeddable package is designed to be minimal, including get-pip.py would make it far more functional without significantly increasing the package size. Users could then easily install pip improving accessibility for tools that are not easily deployable without a Python installation and don't work well or at all when frozen(e.g. Streamlit or educational scenarios).

Proposed enhancement:
Include the latest get-pip.py in the root of the ZIP archive (or in Tools/ or Scripts/) and provide a mechanism to:

  1. modify the python.pth file to enable import site (at the moment the code is there but commented)
  2. install pip using get-pip

Thank you for considering this quality-of-life improvement!

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

@blueprintarchitect blueprintarchitect added the type-feature A feature request or enhancement label May 3, 2025
@tomasr8 tomasr8 added OS-windows build The build process and cross-build labels May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-windows type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants