mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-14 22:26:39 +00:00
show-tool-versions: tolerate missing setuptools
This commit is contained in:
parent
4baffeed1d
commit
1bbdec2a20
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user