Source

orderfilter / run.py

import sys

from orderfilter import main, Config, CONFIG_FILE

if __name__ == '__main__':
    try:
        import psyco
        psyco.full()
    except ImportError:
        print 'Psyco not installed, the program will just run slower'

    cfg = Config(CONFIG_FILE)
    cfg.init_dirs()
    sys.exit(main(cfg))