aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkur Dedania <AbsoluteMSTR@gmail.com>2015-08-31 20:10:01 +0000
committerAnkur Dedania <AbsoluteMSTR@gmail.com>2015-08-31 20:10:01 +0000
commit56afdde1131d3d67360c4032a518b59007255579 (patch)
tree0fa756f4688c740f1a6408de60bd1ab4abaf8324
parent8496cfb24aa20109e64a3b03c972792cd911c086 (diff)
downloadexternal_python_setuptools-56afdde1131d3d67360c4032a518b59007255579.tar.gz
external_python_setuptools-56afdde1131d3d67360c4032a518b59007255579.tar.bz2
external_python_setuptools-56afdde1131d3d67360c4032a518b59007255579.zip
Adds #257, pip style version
--HG-- branch : AbsoluteMSTR/adds-257-pip-style-version-1441051798003
-rwxr-xr-xsetuptools/command/easy_install.py4
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]