diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-20 20:33:29 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-20 20:33:29 -0500 |
commit | ad794c2809cc2ad0a48a14129dca82996f14af28 (patch) | |
tree | 7ae598eb9d2e3620259e7c9b71af7e22f78d0c10 /setuptools/command/install_scripts.py | |
parent | c279903336c73f74c9c8df7aac1e43fb6046c34e (diff) | |
download | external_python_setuptools-ad794c2809cc2ad0a48a14129dca82996f14af28.tar.gz external_python_setuptools-ad794c2809cc2ad0a48a14129dca82996f14af28.tar.bz2 external_python_setuptools-ad794c2809cc2ad0a48a14129dca82996f14af28.zip |
Use a .best classmethod to resolve JythonCommandSpec when relevant.
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 20c2cce9..be66cb22 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 = writer.command_spec_class.from_param(exec_param) + cmd = writer.command_spec_class.best().from_param(exec_param) for args in writer.get_args(dist, cmd.as_header()): self.write_script(*args) |