goa/bin/laxctl
brancholdstable
changeset 6665 90f2f20367bc
parent 6018 f4d1d5d9ccbb
parent 6661 1719137de7da
child 6701 fd4267ecbba6
child 6710 a89dc08e5970
equal deleted inserted replaced
6018:f4d1d5d9ccbb 6665:90f2f20367bc
     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()