goa/bin/laxctl
changeset 0 b97547f5f1fa
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1 #!/usr/bin/env python
       
     2 
       
     3 import sys
       
     4 import os.path as osp
       
     5 
       
     6 APPLROOT = osp.abspath(osp.join(osp.dirname(osp.abspath(__file__)), '..'))
       
     7 if APPLROOT not in sys.path:
       
     8     sys.path.insert(0, APPLROOT)
       
     9 CUBES_DIR = osp.join(APPLROOT, 'cw-cubes')
       
    10 if CUBES_DIR not in sys.path:
       
    11     sys.path.insert(1, CUBES_DIR)
       
    12     
       
    13 try:
       
    14     import custom
       
    15 except ImportError, exc:
       
    16     print exc
       
    17     sys.exit(2)
       
    18 
       
    19 from tools.laxctl import run
       
    20 run()