Skip to content

Commit 88cb374

Browse files
committed
Remove legacy file encoding declaration
1 parent 1d49aa3 commit 88cb374

File tree

1 file changed

+1
-2
lines changed
  • src/pip/_internal/operations/install

1 file changed

+1
-2
lines changed

src/pip/_internal/operations/install/wheel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@ def _raise_for_invalid_entrypoint(specification: str) -> None:
414414
class PipScriptMaker(ScriptMaker):
415415
# Override distlib's default script template with one that
416416
# doesn't import `re` module, allowing scripts to load faster.
417-
script_template = r"""# -*- coding: utf-8 -*-
418-
import sys
417+
script_template = r"""import sys
419418
from %(module)s import %(import_name)s
420419
if __name__ == '__main__':
421420
if sys.argv[0].endswith('.exe'):

0 commit comments

Comments
 (0)