Skip to content

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

@blueprintarchitect

Description

@blueprintarchitect

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions