We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Originally reported by: pombredanne (Bitbucket: pombredanne, GitHub: pombredanne)
The code that generates entry point console script return an incorrect value for sys.argv on windows:
Even if the script was called from the CLI as XXXX, sys.argv will be XXXX-script.py
It should instead by XXXX.
pip handles this by fixing sys.argv in the generated launcher script for wheels here https://github.com/pypa/pip/blob/1da0ea13f3f0ab789edd62012d09bf69be045f68/pip/wheel.py#L416
distlib fixes sys.argv here in a similar way in the launcher script :
Setuptools does not and it should IMHO.
See also this issue: pypa/pip#3233
And where this was discovered: pallets/click#365
The text was updated successfully, but these errors were encountered:
Fix issue pypa#459
Patched sys.argv before loading entry point
Merge pull request #736 from Ofekmeister/master
Fix issue #459
@jaraco This is fixed
Sorry, something went wrong.
No branches or pull requests