diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-20 09:56:16 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-20 09:56:16 -0500 |
commit | c279903336c73f74c9c8df7aac1e43fb6046c34e (patch) | |
tree | d13e1114e1d11789368fefd28afd54178213b88d /setuptools/command/easy_install.py | |
parent | dc1b07f1dfc92e097be704ad19824194a95317d2 (diff) | |
download | external_python_setuptools-c279903336c73f74c9c8df7aac1e43fb6046c34e.tar.gz external_python_setuptools-c279903336c73f74c9c8df7aac1e43fb6046c34e.tar.bz2 external_python_setuptools-c279903336c73f74c9c8df7aac1e43fb6046c34e.zip |
Bypass string handling when default behavior of sys.executable is used.
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 541666ce..dda183c8 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1897,7 +1897,9 @@ class CommandSpec(list): @classmethod def from_environment(cls): - return cls.from_string('"' + cls._sys_executable() + '"') + string = '"' + cls._sys_executable() + '"' + jython_spec = JythonCommandSpec.from_string(string) + return jython_spec or cls([cls._sys_executable()]) @classmethod def from_string(cls, string): |