Lines Matching +full:path +full:- +full:is +full:- +full:absolute
4 The WASM asset bundles are pre-loaded by the final WASM build. The bundle
7 - a stripped down, pyc-only stdlib zip file, e.g. {PREFIX}/lib/python311.zip
8 - os.py as marker module {PREFIX}/lib/python3.11/os.py
9 - empty lib-dynload directory, to make sure it is copied into the bundle {PREFIX}/lib/python3.11/li…
20 SRCDIR = pathlib.Path(__file__).parent.parent.parent.absolute()
32 WASM_DYNLOAD = WASM_STDLIB / "lib-dynload"
121 "_sysconfigdata__emscripten_wasm32-emscripten",
122 "_sysconfigdata__emscripten_wasm32-emscripten",
123 "_sysconfigdata__wasi_wasm32-wasi",
124 "_sysconfigdata__wasi_wasm64-wasi",
128 def get_builddir(args: argparse.Namespace) -> pathlib.Path:
129 """Get builddir path from pybuilddir.txt"""
130 with open("pybuilddir.txt", encoding="utf-8") as f:
132 return pathlib.Path(builddir)
135 def get_sysconfigdata(args: argparse.Namespace) -> pathlib.Path:
136 """Get path to sysconfigdata relative to build root"""
150 ) -> None:
151 def filterfunc(filename: str) -> bool:
152 pathname = pathlib.Path(filename).resolve()
161 if args.compresslevel is not None:
197 modname = key[7:-6].lower()
203 def path(val: str) -> pathlib.Path: function
204 return pathlib.Path(val).absolute()
209 "--buildroot",
210 help="absolute path to build root",
211 default=pathlib.Path(".").absolute(),
212 type=path,
215 "--prefix",
217 default=pathlib.Path("/usr/local"),
218 type=path,
225 relative_prefix = args.prefix.relative_to(pathlib.Path("/"))
233 # bpo-17004: zipimport supports only zlib compression.
234 # Emscripten ZIP_STORED + -sLZ4=1 linker flags results in larger file.
259 # os.py is a marker for finding the correct lib directory.