From: Daira Hopwood Date: Thu, 5 Sep 2013 18:12:59 +0000 (+0100) Subject: Tue Nov 1 08:00:10 GMT 2011 Brian Warner X-Git-Url: https://git.rkrishnan.org/pf/content/quickstart.html?a=commitdiff_plain;h=81ecd583700dc03faa9edc76578f6a5d33e00146;p=tahoe-lafs%2Ftahoe-lafs.git Tue Nov 1 08:00:10 GMT 2011 Brian Warner * show-tool-versions: tolerate missing setuptools --- diff --git a/misc/build_helpers/show-tool-versions.py b/misc/build_helpers/show-tool-versions.py index 7e7dca74..44584c96 100644 --- a/misc/build_helpers/show-tool-versions.py +++ b/misc/build_helpers/show-tool-versions.py @@ -94,6 +94,9 @@ def print_setuptools_ver(): traceback.print_exc(file=sys.stderr) sys.stderr.flush() pass + except pkg_resources.DistributionNotFound: + print 'setuptools: DistributionNotFound' + pass def print_py_pkg_ver(pkgname, modulename=None): if modulename is None: