We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d49aa3 commit 88cb374Copy full SHA for 88cb374
src/pip/_internal/operations/install/wheel.py
@@ -414,8 +414,7 @@ def _raise_for_invalid_entrypoint(specification: str) -> None:
414
class PipScriptMaker(ScriptMaker):
415
# Override distlib's default script template with one that
416
# doesn't import `re` module, allowing scripts to load faster.
417
- script_template = r"""# -*- coding: utf-8 -*-
418
-import sys
+ script_template = r"""import sys
419
from %(module)s import %(import_name)s
420
if __name__ == '__main__':
421
if sys.argv[0].endswith('.exe'):
0 commit comments