summaryrefslogtreecommitdiff
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
commit0e88f1725d28444e167c77ac53c2fa3cfc4787b1 (patch)
tree1dd508c4d04f2a11c1aa4e61180f26780b24477f
parent978e9ff0c853ec522ceca429e5d442e00ac60787 (diff)
downloadpython-setuptools-bitbucket-AbsoluteMSTR/adds-257-pip-style-version-1441051798003.tar.gz
-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]