Remove win32/nt checks for wrapper script gen
It now appears safe to remove the Windows conditions that skip executing override_get_script_args() and install_wrapper_scripts(). Having demonstrated that bdist_wheel works, it should now work for sdist too, and experiments do indeed appear to bear that out. Change-Id: Ic243a3ccd3aee0dcb17d6419bc44271f5ebe5551 Closes-Bug: 1521407
This commit is contained in:
parent
55ef3943bc
commit
07de844615
|
@ -390,8 +390,6 @@ class LocalDevelop(develop.develop):
|
|||
command_name = 'develop'
|
||||
|
||||
def install_wrapper_scripts(self, dist):
|
||||
if sys.platform == 'win32':
|
||||
return develop.develop.install_wrapper_scripts(self, dist)
|
||||
if not self.exclude_scripts:
|
||||
for args in override_get_script_args(dist):
|
||||
self.write_script(*args)
|
||||
|
@ -445,13 +443,7 @@ class LocalInstallScripts(install_scripts.install_scripts):
|
|||
# entry-points listed for this package.
|
||||
return
|
||||
|
||||
if os.name != 'nt':
|
||||
get_script_args = override_get_script_args
|
||||
else:
|
||||
get_script_args = easy_install.get_script_args
|
||||
executable = '"%s"' % executable
|
||||
|
||||
for args in get_script_args(dist, executable, is_wininst):
|
||||
for args in override_get_script_args(dist, executable, is_wininst):
|
||||
self.write_script(*args)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue