diff options
Diffstat (limited to 'setuptools/command')
-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): |