From 0e88f1725d28444e167c77ac53c2fa3cfc4787b1 Mon Sep 17 00:00:00 2001 From: Ankur Dedania Date: Mon, 31 Aug 2015 20:10:01 +0000 Subject: Adds #257, pip style version --- setuptools/command/easy_install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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] -- cgit v1.2.1