Source code for pyamg.__config__

# This file is generated by /usr/src/RPM/BUILD/python-module-pyamg-2.2.1/setup.py
# It contains system_info results at the time of building this package.
__all__ = ["get_info","show"]


[docs]def get_info(name): g = globals() return g.get(name, g.get(name + "_info", {}))
[docs]def show(): for name,info_dict in globals().items(): if name[0] == "_" or type(info_dict) is not type({}): continue print(name + ":") if not info_dict: print(" NOT AVAILABLE") for k,v in info_dict.items(): v = str(v) if k == "sources" and len(v) > 200: v = v[:60] + " ...\n... " + v[-60:] print(" %s = %s" % (k,v))