diff options
Diffstat (limited to 'setuptools/command/easy_install.py')
| -rwxr-xr-x | setuptools/command/easy_install.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 4e05d670..d5d518de 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1906,16 +1906,16 @@ class ScriptWriter(object): """ writer = cls.get_writer(wininst) header = get_script_header("", executable, wininst) - return cls._gen_args(dist, writer, header) + return writer._gen_args(dist, header) @classmethod - def _gen_args(cls, dist, writer, header): + def _gen_args(cls, dist, header): spec = str(dist.as_requirement()) for type_ in 'console', 'gui': group = type_ + '_scripts' for name, ep in dist.get_entry_map(group).items(): - script_text = writer.template % locals() - for res in writer._get_script_args(type_, name, header, + script_text = cls.template % locals() + for res in cls._get_script_args(type_, name, header, script_text): yield res |
