Skip to content

Commit 9059e7a

Browse files
committed
Removes the short path conversion in Python exe launcher script
1 parent 7b73225 commit 9059e7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

change_python_launchers_exe_path.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import os
22
import sys
3-
import win32api
43

54
from pip._vendor.distlib import scripts
65

76
specs = 'nova = novaclient.shell:main'
87

98
scripts_path = os.path.join(os.path.dirname(sys.executable), 'Scripts')
109
m = scripts.ScriptMaker(None, scripts_path)
11-
m.executable = win32api.GetShortPathName(sys.executable)
10+
m.executable = sys.executable
1211
m.make(specs)
1312

0 commit comments

Comments
 (0)