diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-18 19:57:02 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-18 19:57:02 -0500 |
commit | 43ffa78752de38190b2480b68d9ad908cf1b7fa5 (patch) | |
tree | f8d4f4cb1dda2351ff17f6b123108aa33994fb8e /setuptools/command/install_scripts.py | |
parent | 97f96e8cd4d1938095101f26a28f17d6a3f97435 (diff) | |
download | python-setuptools-git-43ffa78752de38190b2480b68d9ad908cf1b7fa5.tar.gz |
Allow the CommandSpec class to be resolved by the writer.
Diffstat (limited to 'setuptools/command/install_scripts.py')
-rwxr-xr-x | setuptools/command/install_scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py index 8d251ee7..9d4ac420 100755 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -39,7 +39,7 @@ class install_scripts(orig.install_scripts): writer = ei.WindowsScriptWriter # resolve the writer to the environment writer = writer.best() - cmd = ei.CommandSpec.from_param(exec_param) + cmd = writer.command_spec_cls.from_param(exec_param) for args in writer.get_args(dist, cmd.as_header()): self.write_script(*args) |