Commit 338d5384 authored by Jason R. Coombs's avatar Jason R. Coombs

Merged in...

Merged in AbsoluteMSTR/setuptools/AbsoluteMSTR/adds-257-pip-style-version-1441051798003 (pull request #146)

Adds #257, pip style version
parents 5fcd56e4 56afdde1
......@@ -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