Tools/c-analyzer/cpython/__init__.py
raw| 1 | import os.path |
| 2 | |
| 3 | |
| 4 | TOOL_ROOT = os.path.normcase( |
| 5 | os.path.abspath( |
| 6 | os.path.dirname( # c-analyzer/ |
| 7 | os.path.dirname(__file__)))) # cpython/ |
| 8 | REPO_ROOT = ( |
| 9 | os.path.dirname( # .. |
| 10 | os.path.dirname(TOOL_ROOT))) # Tools/ |
| 11 | |
| 12 | INCLUDE_DIRS = [os.path.join(REPO_ROOT, name) for name in [ |
| 13 | 'Include', |
| 14 | ]] |
| 15 | SOURCE_DIRS = [os.path.join(REPO_ROOT, name) for name in [ |
| 16 | 'Python', |
| 17 | 'Parser', |
| 18 | 'Objects', |
| 19 | 'Modules', |
| 20 | ]] |