MCPcopy Create free account

hub / github.com/astral-sh/python-build-standalone / functions

Functions186 in github.com/astral-sh/python-build-standalone

↓ 26 callersFunctionlog
(msg)
cpython-windows/build.py:186
↓ 26 callersFunctionlog
(msg)
pythonbuild/logging.py:14
↓ 26 callersFunctionstatic_replace_in_file
Replace occurrences of a string in a file. The updated file contents are written out in place.
cpython-windows/build.py:293
↓ 24 callersFunctiondownload_entry
(key: str, dest_path: pathlib.Path, local_name=None)
pythonbuild/utils.py:362
↓ 23 callersFunctionmeets_python_minimum_version
(got: str, wanted: str)
pythonbuild/cpython.py:229
↓ 21 callersMethodrun
(self, program, user="build", environment=None)
pythonbuild/buildenv.py:217
↓ 16 callersMethodcopy_file
(self, source: pathlib.Path, dest_path=None, dest_name=None)
pythonbuild/buildenv.py:152
↓ 15 callersMethodupdate
(self, chunk: bytes)
src/github_api_tester.py:127
↓ 13 callersFunctionmeets_python_maximum_version
(got: str, wanted: str)
pythonbuild/cpython.py:239
↓ 12 callersFunctionget_image
( client, source_dir: pathlib.Path, image_dir: pathlib.Path, name, host_platform )
pythonbuild/docker.py:71
↓ 8 callersFunctionexec_and_log
(args, cwd, env, exit_on_error=True)
cpython-windows/build.py:201
↓ 7 callersFunctioncreate_tar_from_directory
(fh, base_path: pathlib.Path, path_prefix=None)
pythonbuild/utils.py:378
↓ 7 callersMethodrender
(self)
src/github_api_tester.py:97
↓ 7 callersFunctionsimple_build
( settings, client, image, entry, host_platform, target_triple, build_options,
cpython-unix/build.py:229
↓ 6 callersFunctionbuild_environment
(client, image)
pythonbuild/buildenv.py:266
↓ 6 callersFunctionclang_toolchain
(host_platform: str, target_triple: str)
pythonbuild/utils.py:475
↓ 5 callersFunctionextract_tar_to_directory
(source: pathlib.Path, dest: pathlib.Path)
pythonbuild/utils.py:391
↓ 5 callersFunctionget_targets
Obtain the parsed targets YAML file.
pythonbuild/utils.py:71
↓ 5 callersMethodget_tools_archive
(self, dest, name)
pythonbuild/buildenv.py:226
↓ 5 callersMethodinstall_toolchain
( self, build_dir, platform, target_triple, binutils=False, mu
pythonbuild/buildenv.py:194
↓ 5 callersMethodinstall_toolchain_archive
( self, build_dir, package_name, host_platform, version=None )
pythonbuild/buildenv.py:164
↓ 5 callersFunctionwrite_if_different
Write a file if it is missing or its content is different.
pythonbuild/utils.py:162
↓ 4 callersFunctionadd_target_env
(env, build_platform, target_triple, build_env, build_options)
cpython-unix/build.py:67
↓ 4 callersFunctiondestination_to_source_name
(dest_name: str, tag: str, build_datetime: str)
pythonbuild/mirror.py:111
↓ 4 callersFunctionget_release
(*, tag=None, release=None)
src/github_api_tester.py:182
↓ 4 callersMethodinstall_artifact_archive
( self, build_dir, package_name, target_triple, build_options )
pythonbuild/buildenv.py:178
↓ 4 callersFunctioninstall_binutils
(platform)
cpython-unix/build.py:225
↓ 3 callersFunctionbuild_openssl_for_arch
( perl_path, arch: str, openssl_archive, openssl_version: str, nasm_archive, build_roo
cpython-windows/build.py:787
↓ 3 callersFunctionbuild_upload_entries
( dist_dir: Path, tag: str )
pythonbuild/mirror.py:131
↓ 3 callersFunctioncontainer_get_archive
Get a deterministic tar archive from a container.
pythonbuild/docker.py:157
↓ 3 callersFunctionfind_runner
(runners: dict[str, Any], platform: str, arch: str, free: bool)
ci-matrix.py:345
↓ 3 callersFunctionget_target_settings
Obtain the settings for a named target.
pythonbuild/utils.py:77
↓ 3 callersMethodinstall_toolchain_archive
( self, build_dir, package_name, host_platform, version=None )
pythonbuild/buildenv.py:41
↓ 3 callersFunctionmain
(argv: Sequence[str] | None = None)
pythonbuild/mirror.py:201
↓ 3 callersFunctionnormalize_tar_archive
Normalize the contents of a tar archive. We want tar archives to be as deterministic as possible. This function will take tar archive data in
pythonbuild/utils.py:405
↓ 3 callersFunctionrun_command
(command: list[str])
check.py:14
↓ 3 callersFunctionrun_msbuild
( msbuild: pathlib.Path, pcbuild_path: pathlib.Path, configuration: str, platform: str, py
cpython-windows/build.py:747
↓ 2 callersFunctionadd_env_common
Adds extra keys to environment variables.
pythonbuild/utils.py:573
↓ 2 callersFunctionbuild_docker_image
( client, image_data: bytes, image_dir: pathlib.Path, name, host_platform )
pythonbuild/docker.py:32
↓ 2 callersFunctioncompress_python_archive
( source_path: pathlib.Path, dist_path: pathlib.Path, basename: str )
pythonbuild/utils.py:488
↓ 2 callersMethodcopy_file
(self, source: pathlib.Path, dest_path=None, dest_name=None)
pythonbuild/buildenv.py:36
↓ 2 callersFunctioncrate_artifact_name
(platform: str, arch: str)
ci-matrix.py:35
↓ 2 callersFunctioncreate_python_build_entry
( base_entry: dict[str, Any], python_version: str, build_option: str, config: dict[str, Any],
ci-matrix.py:371
↓ 2 callersFunctioncurrent_host_platform
Resolve the name of the current machine's host platform. This is conceptually a simplified machine triple.
pythonbuild/utils.py:32
↓ 2 callersFunctionextract_zip_to_directory
(source: pathlib.Path, dest: pathlib.Path)
pythonbuild/utils.py:396
↓ 2 callersMethodfind_output_files
(self, base_path, pattern)
pythonbuild/buildenv.py:253
↓ 2 callersFunctionfind_target_platform
Find which platform a target triple belongs to in ci-targets.yaml.
ci-matrix.py:91
↓ 2 callersFunctionfind_vs_path
(path, msvc_version)
cpython-windows/build.py:239
↓ 2 callersMethodget_file
(self, path)
pythonbuild/buildenv.py:232
↓ 2 callersFunctionhash_path
(p: pathlib.Path)
pythonbuild/utils.py:127
↓ 2 callersFunctionlink_for_target
(lib: str, target_triple: str)
pythonbuild/cpython.py:214
↓ 2 callersFunctionmeets_conditional_version
(version: str, min_version: str)
ci-matrix.py:39
↓ 2 callersFunctionparse_config_c
Parse the contents of a config.c file. The file defines external symbols for module init functions and the mapping of module name to module i
pythonbuild/cpython.py:713
↓ 2 callersFunctionparse_setup_line
Parse a line in a ``Setup.*`` file.
pythonbuild/cpython.py:158
↓ 2 callersFunctionprocess_project
(project: pathlib.Path, dest_dir: pathlib.Path)
cpython-windows/build.py:1178
↓ 2 callersFunctionrelease_tag_from_git
()
pythonbuild/utils.py:110
↓ 2 callersMethodrun
(self, program, user="build", environment=None)
pythonbuild/buildenv.py:94
↓ 2 callersFunctionrun_dist_python
Runs a `python` process from an extracted PBS distribution. This function attempts to isolate the spawned interpreter from any external inter
pythonbuild/testdist.py:16
↓ 2 callersFunctiontoolchain_archive_path
(package_name, host_platform)
cpython-unix/build.py:217
↓ 2 callersFunctionvalidate_python_json
Validate a PYTHON.json file for problems. Raises an exception if an issue is detected.
pythonbuild/utils.py:624
↓ 1 callersFunctionadd_licenses_to_extension_entry
Add licenses keys to a ``extensions`` entry for JSON distribution info.
pythonbuild/utils.py:531
↓ 1 callersFunctionadd_python_build_entries_for_config
Add python build matrix entries for a specific target configuration.
ci-matrix.py:395
↓ 1 callersFunctionapply_source_patch
(cpython_source_path: pathlib.Path, patch_path: pathlib.Path)
cpython-windows/build.py:314
↓ 1 callersFunctionbuild_binutils
Build binutils in the Docker image.
cpython-unix/build.py:292
↓ 1 callersFunctionbuild_cpython
( python_entry_name: str, target_triple: str, arch: str, build_options: str, msvc_version:
cpython-windows/build.py:1363
↓ 1 callersFunctionbuild_cpython
Build CPython in a Docker image
cpython-unix/build.py:702
↓ 1 callersFunctionbuild_cpython_host
Build binutils in the Docker image.
cpython-unix/build.py:393
↓ 1 callersFunctionbuild_libedit
( settings, client, image, host_platform, target_triple, build_options, dest_archive )
cpython-unix/build.py:360
↓ 1 callersFunctionbuild_libffi
( python: str, arch: str, sh_exe: pathlib.Path, msvc_version: str, dest_archive: pathlib.P
cpython-windows/build.py:969
↓ 1 callersFunctionbuild_musl
(client, image, host_platform: str, target_triple: str, build_options)
cpython-unix/build.py:330
↓ 1 callersFunctionbuild_openssl
Build OpenSSL from sources using the Perl executable specified.
cpython-windows/build.py:892
↓ 1 callersFunctioncollect_python_build_artifacts
Collect build artifacts from Python. Copies them into an output directory and returns a data structure describing the files.
cpython-windows/build.py:1064
↓ 1 callersFunctioncontainer_exec
(container, command, user="build", environment=None)
pythonbuild/docker.py:126
↓ 1 callersFunctioncopy_file_to_container
Copy a path on the local filesystem to a running container.
pythonbuild/docker.py:101
↓ 1 callersFunctiondefault_target_triple
Resolve the default target triple to build for.
pythonbuild/utils.py:56
↓ 1 callersFunctionderive_setup_local
Derive the content of the Modules/Setup.local file.
pythonbuild/cpython.py:249
↓ 1 callersFunctiondownload_to_path
Download a URL to a filesystem path, possibly with verification.
pythonbuild/utils.py:298
↓ 1 callersFunctiondrop_connection
Drop the (HTTP/1.1) connection belonging to the current Quart request.
src/github_api_tester.py:45
↓ 1 callersFunctionensure_docker_image
(client, fh, image_path=None)
pythonbuild/docker.py:40
↓ 1 callersFunctionexec_and_log
(args, cwd, env)
pythonbuild/utils.py:599
↓ 1 callersFunctionexpand_default_triples
Compute the set of allowed target triples for a pull request. Starts from the explicit defaults in ci-defaults.yaml. When a target dimension
ci-matrix.py:99
↓ 1 callersFunctionextension_modules_config
Loads the extension-modules.yml file.
pythonbuild/cpython.py:745
↓ 1 callersFunctionextract_python_archive
Extract a PBS .tar.zst distribution archive to the given directory. Returns the path to the `python` directory, which is equivalent to `dest_
pythonbuild/utils.py:513
↓ 1 callersFunctionfetch_strawberry_perl
()
cpython-windows/build.py:1929
↓ 1 callersFunctionfind_additional_dependencies
(project: pathlib.Path)
cpython-windows/build.py:1188
↓ 1 callersFunctionfind_msbuild
(msvc_version)
cpython-windows/build.py:276
↓ 1 callersFunctionfind_vcvarsall_path
Find path to vcvarsall.bat
cpython-windows/build.py:282
↓ 1 callersFunctionfind_vswhere
()
cpython-windows/build.py:224
↓ 1 callersFunctiongenerate_crate_build_matrix_entries
Generate matrix entries for crate builds based on python build matrix.
ci-matrix.py:268
↓ 1 callersFunctiongenerate_docker_matrix_entries
Generate matrix entries for Docker image builds.
ci-matrix.py:235
↓ 1 callersFunctiongenerate_python_build_matrix_entries
Generate matrix entries for python builds.
ci-matrix.py:319
↓ 1 callersFunctionget_all_build_options
Get all build options (including conditional) for a target from ci-targets.yaml.
ci-matrix.py:79
↓ 1 callersMethodget_output_archive
(self, path, as_tar=False)
pythonbuild/buildenv.py:239
↓ 1 callersFunctionhack_project_files
Hacks Visual Studio project files to work with our build.
cpython-windows/build.py:532
↓ 1 callersFunctionhack_props
( td: pathlib.Path, pcbuild_path: pathlib.Path, arch: str, python_version: str, zlib_entry
cpython-windows/build.py:379
↓ 1 callersFunctioninfer_build_datetime
(dist_dir: Path)
pythonbuild/mirror.py:73
↓ 1 callersFunctionlog_raw
(data)
pythonbuild/logging.py:28
↓ 1 callersFunctionmain
()
generate-version-metadata.py:31
↓ 1 callersFunctionmain
()
ci-matrix.py:544
↓ 1 callersFunctionmain
()
cpython-windows/build.py:1938
next →1–100 of 186, ranked by callers