Lines Matching defs:path
2 import os.path
9 TESTS_DIR = os.path.dirname(__file__)
10 TOOL_ROOT = os.path.dirname(TESTS_DIR)
11 SRCDIR = os.path.dirname(os.path.dirname(TOOL_ROOT))
14 FREEZE = os.path.join(TOOL_ROOT, 'freeze.py')
15 OUTDIR = os.path.join(TESTS_DIR, 'outdir')
79 if os.path.exists(newroot):
89 if os.path.basename(src) == 'Doc':
96 if os.path.exists(os.path.join(newroot, 'Makefile')):
102 filename = os.path.join(builddir, 'Makefile')
117 python = os.path.join(builddir, 'python')
118 if os.path.isfile(python):
138 scriptfile = os.path.join(outdir, 'app.py')
145 srcdir = os.path.join(outdir, 'cpython')
149 builddir = os.path.join(outdir, 'python-build')
155 os.path.join(srcdir, 'configure'),
158 ensure_opt(cmd, 'cache-file', os.path.join(outdir, 'python-config.cache'))
159 prefix = os.path.join(outdir, 'python-installation')
177 if os.path.exists(os.path.join(srcdir, 'Makefile')):
185 python = os.path.join(prefix, 'bin', 'python3')
198 _run_quiet([MAKE, '-C', os.path.dirname(scriptfile)])
200 name = os.path.basename(scriptfile).rpartition('.')[0]
201 executable = os.path.join(outdir, name)