Skip to content

installer: add --interpreter option#332

Closed
rossburton wants to merge 1 commit into
pypa:mainfrom
rossburton:interpreter
Closed

installer: add --interpreter option#332
rossburton wants to merge 1 commit into
pypa:mainfrom
rossburton:interpreter

Conversation

@rossburton
Copy link
Copy Markdown

The currently running Python might not be the right one for the installed wheels, so add an option to allow the interpreter to be overridden.

This is essential in cross/distro builds where we want to install a wheel into a working directory to build a distro package (eg a rpm or deb) with pypa/installer, but the currently running python on the build host might not be the right path for the scripts to use on the target.

The currently running Python might not be the right one for the installed
wheels, so add an option to allow the interpreter to be overridden.

This is essential in cross/distro builds where we want to install a
wheel into a working directory to build a distro package (eg a rpm or
deb) with pypa/installer, but the currently running python on the build
host might not be the right path for the scripts to use on the target.
@Secrus
Copy link
Copy Markdown
Member

Secrus commented May 15, 2026

Previously rejected with #258 #263 #107

@Secrus Secrus closed this May 15, 2026
@rossburton
Copy link
Copy Markdown
Author

I'd actually forgotten that I'd been here before in #107.

Does your position still stand that everyone who is currently patching these few lines in need to continue patching forever? The previous statement was basically just write your own installer tool that is 99% identical to pypa/installer but with one extra option, which seems like pointless duplication.

Especially as at the time the argument was "the API supports that", but #175 merging absolutely means that it would not anymore.

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.

2 participants