Searched refs:_safe_realpath (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | sysconfig.py | 97 def _safe_realpath(path): function 104 _PROJECT_BASE = os.path.dirname(_safe_realpath(sys.executable)) 108 _PROJECT_BASE = _safe_realpath(os.getcwd()) 111 _PROJECT_BASE = _safe_realpath(os.path.join(_PROJECT_BASE, pardir)) 114 _PROJECT_BASE = _safe_realpath(os.path.join(_PROJECT_BASE, pardir, pardir)) 119 _PROJECT_BASE = _safe_realpath(os.path.join(_PROJECT_BASE, pardir, pardir, pardir)) 122 _PROJECT_BASE = _safe_realpath(os.path.join(_PROJECT_BASE, pardir, pardir)) 373 vars['BINDIR'] = os.path.dirname(_safe_realpath(sys.executable))
|
/external/python/cpython3/Lib/ |
D | sysconfig.py | 100 def _safe_realpath(path): function 107 _PROJECT_BASE = os.path.dirname(_safe_realpath(sys.executable)) 111 _PROJECT_BASE = _safe_realpath(os.getcwd()) 115 _PROJECT_BASE = _safe_realpath(os.path.join(_PROJECT_BASE, pardir, pardir)) 119 _PROJECT_BASE = _safe_realpath(os.environ["_PYTHON_PROJECT_BASE"]) 435 vars['BINDIR'] = os.path.dirname(_safe_realpath(sys.executable)) 576 _CONFIG_VARS['srcdir'] = _safe_realpath(srcdir)
|