Skip to content

Don't require a system-installed Python interpreter for bootstrapping #8446

@brandjon

Description

@brandjon

Forked from discussion in #7947. On windows, we can have the native launcher take on the responsibilities of the stub script, in particular extracting the runfiles. This means it can use any Python runtime to launch the user code, including a runtime in runfiles.

We should also consider creating a native launcher for non-Windows platforms to do the same, so we don't need the #!/usr/bin/env python shebang.

Finally, we can consider merging the zip file into the launch to create a self-extracting native executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)team-Rules-PythonNative rules for Pythontype: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions