Commit 56afdde1 authored by Ankur Dedania's avatar Ankur Dedania

Adds #257, pip style version

--HG--
branch : AbsoluteMSTR/adds-257-pip-style-version-1441051798003
parent 8496cfb2
......@@ -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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment