Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 69c37a6918ec22db14594bfe9e53d663e4700de0 authored by Pablo Galindo on 02 December 2020, 03:12:43 UTC
bpo-41625: Include 'socket.h' in aix
Tip revision: 69c37a6
__init__.py
import os.path


TOOL_ROOT = os.path.normcase(
    os.path.abspath(
        os.path.dirname(  # c-analyzer/
            os.path.dirname(__file__))))  # cpython/
REPO_ROOT = (
        os.path.dirname(  # ..
            os.path.dirname(TOOL_ROOT)))  # Tools/

INCLUDE_DIRS = [os.path.join(REPO_ROOT, name) for name in [
    'Include',
]]
SOURCE_DIRS = [os.path.join(REPO_ROOT, name) for name in [
    'Python',
    'Parser',
    'Objects',
    'Modules',
]]
back to top