MCPcopy Create free account

hub / github.com/scikit-build/scikit-build-core / functions

Functions833 in github.com/scikit-build/scikit-build-core

↓ 2 callersMethod_get_name
(*fields: str)
src/scikit_build_core/settings/sources.py:490
↓ 2 callersFunction_handle_minimum_version
Handle the minimum version option. Supports scikit-build-core < 0.8 style minimum_version. Prints an error message and exits.
src/scikit_build_core/settings/skbuild_read_settings.py:40
↓ 2 callersFunction_handle_move
Backward_compat for moving names around. The default must be false-like.
src/scikit_build_core/settings/skbuild_read_settings.py:90
↓ 2 callersMethod_install
(self, opts: Sequence[str])
src/scikit_build_core/cmake.py:346
↓ 2 callersFunction_name_list
Build a comma-separated list of names.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:743
↓ 2 callersFunction_prepare_cmake_ninja
( session: nox.Session, )
noxfile.py:55
↓ 2 callersMethod_read_config
(self)
src/scikit_build_core/hatch/plugin.py:43
↓ 2 callersMethod_run
( self, args: Iterable[str | os.PathLike[str]], *, capture: bool, )
src/scikit_build_core/_shutil.py:44
↓ 2 callersFunction_run_tests
( session: nox.Session, *, install_args: Sequence[str] = (), run_args: Sequence[str] = (),
noxfile.py:65
↓ 2 callersFunction_validate_import_names
Return normalized names for comparisons.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:241
↓ 2 callersMethod_write_metadata
Write the metadata to the message. Handles JSON or Message.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:657
↓ 2 callersFunctionarchs_to_tags
Convert a list of architectures to a list of tags (e.g. "universal2").
src/scikit_build_core/builder/builder.py:65
↓ 2 callersMethodbuild
( self, build_args: Sequence[str] = (), *, targets: Sequence[str] = (),
src/scikit_build_core/cmake.py:302
↓ 2 callersFunctionc_method
tests/packages/navigate_editable/src/shared_pkg/c_module.c:6
↓ 2 callersFunctioncompute_uncompressed_hash
(inp: Path)
tests/test_pyproject_pep517.py:40
↓ 2 callersMethoddynamic_metadata
( self, fields: Iterable[str], settings: dict[str, Any], project: Mapping[str,
src/scikit_build_core/builder/_load_provider.py:29
↓ 2 callersFunctiongenerate_skbuild_schema
Generate the complete schema for scikit-build settings.
src/scikit_build_core/settings/skbuild_schema.py:35
↓ 2 callersFunctionget_abi_flags
Return the ABI flags for the current Python interpreter. Derived from ``packaging.tags.sys_tags()`` since that works on Windows.
src/scikit_build_core/builder/sysconfig.py:191
↓ 2 callersFunctionget_cmake_platform
Return the CMake platform name for a platform, respecting VSCMD_ARG_TGT_ARCH.
src/scikit_build_core/builder/sysconfig.py:153
↓ 2 callersFunctionget_cmake_program
Get the Program (with version) for CMake given a path. The version will be None if it cannot be determined.
src/scikit_build_core/program_search.py:129
↓ 2 callersMethodget_item
Select an item from a chain of fields. Raises KeyError if the there is no item. ``is_dict`` should be set if it can be nested.
src/scikit_build_core/settings/sources.py:212
↓ 2 callersFunctionget_macosx_deployment_target
Get the MACOSX_DEPLOYMENT_TARGET environment variable. If not set, use the current macOS version. If arm=True, then this will always return a
src/scikit_build_core/builder/macos.py:36
↓ 2 callersFunctionget_make_programs
Get the path to make.
src/scikit_build_core/program_search.py:215
↓ 2 callersFunctionget_numpy_include_dir
()
src/scikit_build_core/builder/sysconfig.py:182
↓ 2 callersFunctionget_requires_for_build_editable
( config_settings: dict[str, str | list[str]] | None = None, )
src/scikit_build_core/setuptools/build_meta.py:68
↓ 2 callersFunctionget_requires_for_build_sdist
( config_settings: dict[str, str | list[str]] | None = None, )
src/scikit_build_core/setuptools/build_meta.py:39
↓ 2 callersFunctioninherit_join
( value: list[str] | dict[str, str] | str | int | bool, previous: list[str] | dict[str, str] | str | i
src/scikit_build_core/settings/skbuild_overrides.py:271
↓ 2 callersMethodinstall
Install to a path. Warning: if a package hard-codes CMAKE_INSTALL_PREFIX in the install commands, this will not rewrite thos
src/scikit_build_core/builder/builder.py:314
↓ 2 callersFunctionis_typed_dict
(type_hint: object)
src/scikit_build_core/_vendor/pyproject_metadata/_dispatch.py:76
↓ 2 callersFunctionjoin
Join a prefix and a name.
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:170
↓ 2 callersFunctionload_provider
( provider: str, provider_path: str | None = None, )
src/scikit_build_core/builder/_load_provider.py:56
↓ 2 callersFunctionon_all_modules
( name: str, base_path: Path | None = None, *, pkg: bool )
tests/test_module_dir.py:12
↓ 2 callersFunctionoverride_match
Check if the current environment matches the overrides. Returns a dict of passed matches, with reasons for values, and a set of non-matches.
src/scikit_build_core/settings/skbuild_overrides.py:90
↓ 2 callersFunctionprepare_env_or_skip
()
tests/test_simple_pure.py:22
↓ 2 callersFunctionprocess_dict
(d: dict[str, str])
tests/test_editable_redirect.py:8
↓ 2 callersFunctionprocess_overrides
Process overrides into the main dictionary if they match. Modifies the input dictionary. Must be run from the package directory. :return
src/scikit_build_core/settings/skbuild_overrides.py:337
↓ 2 callersFunctionpull_docs
Pulls documentation from a dataclass.
src/scikit_build_core/settings/documentation.py:36
↓ 2 callersFunctionpyproject_format
( *, settings: ScikitBuildSettings, state: Literal["sdist", "wheel", "editable", "metadata_wheel",
src/scikit_build_core/format.py:48
↓ 2 callersFunctionrecord_override
( *keys: str, value: Any, tool_skb: dict[str, Any], overridden_items: dict[str, OverrideRecord
src/scikit_build_core/settings/skbuild_overrides.py:289
↓ 2 callersMethodset_payload
(self, payload: str)
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:180
↓ 2 callersFunctionto_json_schema
(dclass: type[Any], *, normalize_keys: bool)
src/scikit_build_core/settings/json_schema.py:31
↓ 2 callersMethodunrecognized_options
(self)
src/scikit_build_core/settings/skbuild_read_settings.py:383
↓ 2 callersMethodvalidate
Validate metadata for consistency and correctness. Will also produce warnings if ``warn`` is given. Respects ``all_errors``.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:537
↓ 1 callersMethod__init__
( self, exception: subprocess.CalledProcessError, description: str )
src/scikit_build_core/errors.py:56
↓ 1 callersMethod__init__
Create a new group with a message and a list of exceptions.
src/scikit_build_core/_vendor/pyproject_metadata/errors.py:79
↓ 1 callersMethod__str__
(self)
src/scikit_build_core/ast/ast.py:30
↓ 1 callersFunction_build_extra_req
Build a new requirement with an extra marker.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:762
↓ 1 callersFunction_cast_dict
( args: tuple[type[Any], ...], data: object, prefix: str, error_collector: SimpleErrorCollecto
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:346
↓ 1 callersFunction_cast_list
( args: tuple[type[Any], ...], data: object, prefix: str, error_collector: SimpleErrorCollecto
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:331
↓ 1 callersFunction_cast_literal
( args: tuple[type[Any], ...], data: object, prefix: str, error_collector: SimpleErrorCollecto
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:319
↓ 1 callersFunction_cast_typed_dict
Runtime cast for TypedDicts.
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:295
↓ 1 callersFunction_cast_union
Runtime cast for Union types. Checks parent type only (does not check for TypedDict contents), which gives better errors. Currently impl
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:361
↓ 1 callersMethod_compute_build_args
( self, *, verbose: bool, )
src/scikit_build_core/cmake.py:291
↓ 1 callersMethod_compute_cmake_args
( self, defines: Mapping[str, str | os.PathLike[str] | bool], toolchain: os.PathLike[s
src/scikit_build_core/cmake.py:214
↓ 1 callersMethod_convert_any
(self, item: Any, target: Type[T])
src/scikit_build_core/file_api/reply.py:91
↓ 1 callersFunction_dig_not_strict
(_dict: Mapping[str, Any], /, *names: str)
src/scikit_build_core/settings/sources.py:93
↓ 1 callersFunction_filter_env_cmake_args
Filter out CMake arguments that are not supported from CMAKE_ARGS.
src/scikit_build_core/builder/builder.py:74
↓ 1 callersFunction_fix_all_permissions
Makes sure the write permission is set. Only run this on Windows.
src/scikit_build_core/_shutil.py:89
↓ 1 callersFunction_get_cmake_path
Get the path to CMake.
src/scikit_build_core/program_search.py:92
↓ 1 callersFunction_get_files_from_globs
Given a list of globs, get files that match.
src/scikit_build_core/_vendor/pyproject_metadata/pyproject.py:303
↓ 1 callersFunction_get_ninja_path
Get the path to ninja.
src/scikit_build_core/program_search.py:110
↓ 1 callersFunction_get_value
(value: ast.expr)
src/scikit_build_core/settings/documentation.py:30
↓ 1 callersMethod_info_dict
Produce an information dict about the current run that can be stored in a json file.
src/scikit_build_core/cmake.py:150
↓ 1 callersMethod_initialize
(self, *, build_data: dict[str, Any])
src/scikit_build_core/hatch/plugin.py:130
↓ 1 callersFunction_is_valid_wheel
(wheel: Path)
tests/conftest.py:43
↓ 1 callersMethod_key_diff
(self, k: str)
src/scikit_build_core/_shutil.py:80
↓ 1 callersFunction_load_dynamic_metadata
( metadata: Mapping[str, Mapping[str, str]], )
src/scikit_build_core/builder/_load_provider.py:74
↓ 1 callersMethod_load_from_json
(self, name: Path, target: Type[T])
src/scikit_build_core/file_api/reply.py:43
↓ 1 callersFunction_load_scikit_build_settings
( config_settings: Mapping[str, list[str] | str] | None = None, )
src/scikit_build_core/builder/get_requires.py:64
↓ 1 callersFunction_macos_binary_is_x86
Returns True if the binary is x86. Only run on macOS.
src/scikit_build_core/program_search.py:41
↓ 1 callersFunction_make_dir_with_ro
(tmp_path: Path)
tests/test_shutil.py:16
↓ 1 callersFunction_mk_files
Create a set of files in the given temporary path based on the provided string. The string should contain file names and optional contents se
tests/test_file_processor.py:23
↓ 1 callersFunction_sanitize_path
(path: Any)
src/scikit_build_core/builder/builder.py:88
↓ 1 callersFunction_unrecognized_dict
( settings: Mapping[str, Any], options: Any, above: Sequence[str] )
src/scikit_build_core/settings/sources.py:335
↓ 1 callersFunction_uses_ninja_generator
Returns True if Ninja is set, False if something else is set, and None otherwise.
src/scikit_build_core/builder/get_requires.py:38
↓ 1 callersMethod_validate
(self, settings_reader: SettingsReader)
src/scikit_build_core/hatch/plugin.py:56
↓ 1 callersFunction_validate_dotted_names
Check to make sure every name is accounted for. Takes the union of de-tagged names.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:270
↓ 1 callersFunction_validate_overrides
Validate all fields with any override information.
src/scikit_build_core/settings/skbuild_read_settings.py:138
↓ 1 callersFunction_validate_settings
(settings: ScikitBuildSettings)
src/scikit_build_core/setuptools/build_cmake.py:37
↓ 1 callersMethodacquire
(self)
src/scikit_build_core/resources/_editable_redirect.py:32
↓ 1 callersMethodas_bytes
Will always handle unicode encoding.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:297
↓ 1 callersFunctioncompute_uncompressed_hash
(inp: Path)
tests/test_pyproject_pep518.py:21
↓ 1 callersMethoddefault
Formatted text that includes the `:default:` key or not
src/scikit_build_core/settings/skbuild_docs_sphinx.py:71
↓ 1 callersMethoddispatch
Return the registered implementation or the default.
src/scikit_build_core/_vendor/pyproject_metadata/_dispatch.py:60
↓ 1 callersFunctionensure_dict
Ensure that a value is a dictionary of strings.
src/scikit_build_core/_vendor/pyproject_metadata/pyproject.py:83
↓ 1 callersMethoderror
(self, msg: str, *args: object, **kwargs: object)
src/scikit_build_core/_logging.py:94
↓ 1 callersFunctionextras_project
Return any extra keys in the project table.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:127
↓ 1 callersMethodformat
(self)
src/scikit_build_core/settings/skbuild_docs_readme.py:24
↓ 1 callersMethodformat
(self)
src/scikit_build_core/settings/skbuild_docs_sphinx.py:31
↓ 1 callersMethodfrom_pyproject
Read metadata from a pyproject.toml table. This is the main method for creating an instance of this class. It also supports two addit
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:386
↓ 1 callersFunctionget_default
Returns the computed default for the current platform.
src/scikit_build_core/builder/generator.py:59
↓ 1 callersFunctionget_default_from_cmake
Returns the default generator for the current platform from CMake's output. None if it cannot be determined.
src/scikit_build_core/builder/generator.py:41
↓ 1 callersFunctionget_display_type
(field_type: type | str)
src/scikit_build_core/settings/documentation.py:70
↓ 1 callersMethodget_generator
Try to get the generator that will be used to build the project. If it's not set, return None (default generator will be used).
src/scikit_build_core/cmake.py:243
↓ 1 callersFunctionget_skbuild_schema
Get the stored complete schema for scikit-build settings.
src/scikit_build_core/settings/skbuild_schema.py:225
↓ 1 callersMethodignore_default
Check if we want to ignore displaying the default
src/scikit_build_core/settings/skbuild_docs_sphinx.py:65
↓ 1 callersFunctioninfo_print
Print information about the program search.
src/scikit_build_core/program_search.py:242
↓ 1 callersFunctioninfo_print
Print information about the Python environment.
src/scikit_build_core/builder/sysconfig.py:210
↓ 1 callersFunctionis_editable_mode
(maybe_mode: str)
tests/conftest.py:312
↓ 1 callersFunctionis_known_platform
(platforms: frozenset[str])
src/scikit_build_core/builder/get_requires.py:60
← previousnext →101–200 of 833, ranked by callers