traceback.print_exc(file=sys.stderr)
sys.stderr.flush()
pass
+ try:
+ __import__(pkgname)
+ except ImportError:
+ pass
+ else:
+ modobj = sys.modules.get(pkgname)
+ print pkgname + ' module: ' + str(modobj)
+ try:
+ print pkgname + ' __version__: ' + str(modobj.__version__)
+ except AttributeError:
+ pass
print_platform()
print_py_pkg_ver('setuptools_trial')
print_py_pkg_ver('setuptools_darcs')
print_py_pkg_ver('darcsver')
+print_py_pkg_ver('twisted')
+print_py_pkg_ver('TwistedCore')