diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 17:12:37 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 17:12:37 -0500 |
commit | c3beddd034239005c98f7285a2936c513c5a81be (patch) | |
tree | 7267aeaaf4213f03a738c6b14022e4959d80abcd /setuptools/command/install_scripts.py | |
parent | 390e64c37fb7dcb57b8e6062192e4c4375be8b78 (diff) | |
download | external_python_setuptools-c3beddd034239005c98f7285a2936c513c5a81be.tar.gz external_python_setuptools-c3beddd034239005c98f7285a2936c513c5a81be.tar.bz2 external_python_setuptools-c3beddd034239005c98f7285a2936c513c5a81be.zip |
Deprecate and remove usage of easy_install.get_script_header.
Diffstat (limited to 'setuptools/command/install_scripts.py')
-rwxr-xr-x | setuptools/command/install_scripts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py index de74145f..138e4ea2 100755 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -14,7 +14,7 @@ class install_scripts(orig.install_scripts): def run(self): from setuptools.command.easy_install import ( - ScriptWriter, sys_executable, get_script_header, + ScriptWriter, sys_executable, nt_quote_arg, ) self.run_command("egg_info") if self.distribution.scripts: @@ -38,7 +38,7 @@ class install_scripts(orig.install_scripts): if is_wininst: executable = "python.exe" writer = ScriptWriter.get_writer(force_windows=is_wininst) - header = get_script_header("", executable) + header = ScriptWriter.get_header("", nt_quote_arg(executable)) for args in writer._gen_args(dist, header): self.write_script(*args) |