-
Notifications
You must be signed in to change notification settings - Fork 37
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
Script wrappers generated from Python debug executable do not point to the right executable #218
Comments
Why this should be required behaviour? |
Because otherwise the script wrappers do not work? What would be the alternative? Currently it is simply impossible to install script wrappers via This would also make the behavior consistent with |
Well I understand that, but why is there a need to support scripts to be run under debug builds of Python? Obviously you can't ship such scripts. Can you give a more detailed explanation of the actual use case? |
You cannot ship such scripts, but I do not see a reason not to be able to run such scripts. AFAIK, you cannot ship the scripts installed (through Aside from the required work to implement such feature, what would justify not having the scripts use My actual use-case is to build PyQt using sip and related tools. Building those in debug mode requires a Python debug installation, and it makes use of scripts generated by the |
I consider this a niche use case, but I'm willing to review a PR around this which meets your requirement while using a simple approach. |
Describe the bug
When installing a package containing script wrappers from
setuptools
using a debug installation of Python on Windows, the script wrappers do not point to the rightpython_d.exe
.This is a follow-up from pypa/setuptools#4418
To Reproduce
python_d.exe -m pip install XXX
. Below is non-working package:test_python_debug_main.exe
.Expected behavior
The script wrappers should use the right executable, i.e.,
python_d.exe
.Environment
The text was updated successfully, but these errors were encountered: