source: trunk/anuga_core/anuga/__config__.py @ 9737

Last change on this file since 9737 was 9734, checked in by steve, 10 years ago

Adding in multiple git commit

File size: 682 bytes
Line 
1# This file is generated by /home/steve/anuga/anuga_core/setup.py
2# It contains system_info results at the time of building this package.
3__all__ = ["get_info","show"]
4
5
6def get_info(name):
7    g = globals()
8    return g.get(name, g.get(name + "_info", {}))
9
10def show():
11    for name,info_dict in globals().items():
12        if name[0] == "_" or type(info_dict) is not type({}): continue
13        print(name + ":")
14        if not info_dict:
15            print("  NOT AVAILABLE")
16        for k,v in info_dict.items():
17            v = str(v)
18            if k == "sources" and len(v) > 200:
19                v = v[:60] + " ...\n... " + v[-60:]
20            print("    %s = %s" % (k,v))
21   
Note: See TracBrowser for help on using the repository browser.