~nhanb/mcross

ref: b26c4f1a14ae45daad956c64f42fb6dd47ff8886 mcross/src/mcross/__init__.py -rw-r--r-- 334 bytes
b26c4f1aBùi Thành Nhân bring back Windows support 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
def run():
    from . import conf
    from .gui.controller import Controller

    conf.init()

    # Actually start the program
    c = Controller()
    c.run()


def info():
    from . import conf
    from pprint import pprint

    conf.init()

    print("Config file:", conf.CONFIG_FILE)
    print("Config:")
    pprint(conf._conf)