diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 16:43:55 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 16:43:55 -0500 |
commit | ef9c3db451e2f24fc8821287e79a1ef48e0c5cf5 (patch) | |
tree | 593c1a05c19e836efb41259c76f644aa34726679 /setuptools/command/install_scripts.py | |
parent | 2170df350911390a4a9a205763475dc7a7a2fb54 (diff) | |
download | python-setuptools-git-ef9c3db451e2f24fc8821287e79a1ef48e0c5cf5.tar.gz |
Move get_script_header into ScriptWriter
Diffstat (limited to 'setuptools/command/install_scripts.py')
-rwxr-xr-x | setuptools/command/install_scripts.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py index eb5ed0f2..de74145f 100755 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -35,8 +35,10 @@ class install_scripts(orig.install_scripts): is_wininst = getattr( self.get_finalized_command("bdist_wininst"), '_is_running', False ) + if is_wininst: + executable = "python.exe" writer = ScriptWriter.get_writer(force_windows=is_wininst) - header = get_script_header("", executable, wininst=is_wininst) + header = get_script_header("", executable) for args in writer._gen_args(dist, header): self.write_script(*args) |