1import os.path 2import sys 3 4 5TOOL_ROOT = os.path.abspath( 6 os.path.dirname( # c-analyzer/ 7 os.path.dirname(__file__))) # cpython/ 8DATA_DIR = TOOL_ROOT 9REPO_ROOT = ( 10 os.path.dirname( # .. 11 os.path.dirname(TOOL_ROOT))) # Tools/ 12 13INCLUDE_DIRS = [os.path.join(REPO_ROOT, name) for name in [ 14 'Include', 15 ]] 16SOURCE_DIRS = [os.path.join(REPO_ROOT, name) for name in [ 17 'Python', 18 'Parser', 19 'Objects', 20 'Modules', 21 ]] 22 23#PYTHON = os.path.join(REPO_ROOT, 'python') 24PYTHON = sys.executable 25 26 27# Clean up the namespace. 28del sys 29del os 30