]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Tue Nov 1 08:00:10 GMT 2011 Brian Warner <warner@lothar.com>
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 18:12:59 +0000 (19:12 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 18:12:59 +0000 (19:12 +0100)
  * show-tool-versions: tolerate missing setuptools

misc/build_helpers/show-tool-versions.py

index 7e7dca7437523bd23023b61bb228cf85a0b4aa0f..44584c96589f794163ba908f58f00b1be93257ed 100644 (file)
@@ -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: