File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 1+ Removed code referencing bdist_wininst in install_scripts.
Original file line number Diff line number Diff line change 11from distutils import log
22import distutils .command .install_scripts as orig
3- from distutils .errors import DistutilsModuleError
43import os
54import sys
65
@@ -37,15 +36,7 @@ def _install_ep_scripts(self):
3736 )
3837 bs_cmd = self .get_finalized_command ('build_scripts' )
3938 exec_param = getattr (bs_cmd , 'executable' , None )
40- try :
41- bw_cmd = self .get_finalized_command ("bdist_wininst" )
42- is_wininst = getattr (bw_cmd , '_is_running' , False )
43- except (ImportError , DistutilsModuleError ):
44- is_wininst = False
4539 writer = ei .ScriptWriter
46- if is_wininst :
47- exec_param = "python.exe"
48- writer = ei .WindowsScriptWriter
4940 if exec_param == sys .executable :
5041 # In case the path to the Python executable contains a space, wrap
5142 # it so it's not split up.
You can’t perform that action at this time.
0 commit comments