2012-12-02 03:31:36 +04:00
|
|
|
#!/usr/bin/env python2
|
2011-04-28 03:58:13 +04:00
|
|
|
|
|
|
|
'''
|
|
|
|
see emmaken.py
|
|
|
|
'''
|
|
|
|
|
2012-03-20 17:26:50 +04:00
|
|
|
import os, subprocess, sys
|
2011-04-28 03:58:13 +04:00
|
|
|
|
2012-01-31 02:10:57 +04:00
|
|
|
__rootpath__ = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
2011-04-28 03:58:13 +04:00
|
|
|
def path_from_root(*pathelems):
|
2011-10-05 22:12:45 +04:00
|
|
|
return os.path.join(__rootpath__, *pathelems)
|
2012-01-31 02:10:57 +04:00
|
|
|
sys.path += [path_from_root('')]
|
|
|
|
from tools.shared import *
|
2011-04-28 03:58:13 +04:00
|
|
|
|
|
|
|
emmaken = path_from_root('tools', 'emmaken.py')
|
2011-09-17 02:34:34 +04:00
|
|
|
os.environ['EMMAKEN_CXX'] = '1'
|
2012-12-03 02:55:21 +04:00
|
|
|
exit(subprocess.call([PYTHON, emmaken] + sys.argv[1:]))
|
2011-04-28 03:58:13 +04:00
|
|
|
|