diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-09-06 13:24:10 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-09-06 13:24:10 -0400 |
commit | 338d5384b898682eab056582f72964e2f54b27df (patch) | |
tree | be92be1f1c81eaf0c5010aa4245a1800c7433644 | |
parent | 5fcd56e4962e04ba01c278f492f4a95e581d5882 (diff) | |
parent | 56afdde1131d3d67360c4032a518b59007255579 (diff) | |
download | external_python_setuptools-338d5384b898682eab056582f72964e2f54b27df.tar.gz external_python_setuptools-338d5384b898682eab056582f72964e2f54b27df.tar.bz2 external_python_setuptools-338d5384b898682eab056582f72964e2f54b27df.zip |
Merged in AbsoluteMSTR/setuptools/AbsoluteMSTR/adds-257-pip-style-version-1441051798003 (pull request #146)
Adds #257, pip style version
-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 7c0dfa99..62c24d77 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -217,7 +217,9 @@ class easy_install(Command): def finalize_options(self): if self.version: - print('setuptools %s' % get_distribution('setuptools').version) + dist = get_distribution('setuptools') + print('setuptools %s from %s (python %s)' % ( + dist.version, dist.location, sys.version[:3])) sys.exit() py_version = sys.version.split()[0] |