run.py 237 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env python3

import sys
import os
import runpy

path = os.path.dirname(sys.modules[__name__].__file__)
path = os.path.join(path, '..')
sys.path.insert(0, path)
runpy.run_module('jetconf', run_name="__main__", alter_sys=True)