From 81ecd583700dc03faa9edc76578f6a5d33e00146 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 5 Sep 2013 19:12:59 +0100 Subject: [PATCH] Tue Nov 1 08:00:10 GMT 2011 Brian Warner * show-tool-versions: tolerate missing setuptools --- misc/build_helpers/show-tool-versions.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.45.2