Config Reference¶
The following are the available configurations in pyproject.toml for the
[tool.scikit-build] table. These can be passed in one of the following ways:
[tool.scikit-build]
build.verbose = true
$ pip install . -Cbuild.verbose=true
$ pipx run build --wheel -Cbuild.verbose=true
[tool.cibuildwheel.config-settings]
"build.verbose" = true
$ export SKBUILD_BUILD_VERBOSE="true"
(top-level)¶
- build-dir¶
- Type:
str- Config-settings:
build-dirorskbuild.build-dir- Environment variable:
SKBUILD_BUILD_DIR
The CMake build directory. Defaults to a unique temporary directory.
This can be set to reuse the build directory from previous runs.
- env¶
- Type:
dict[str,EnvValue]- Config-settings:
envorskbuild.env- Environment variable:
SKBUILD_ENV
A table of environment variables to set for the CMake subprocesses.
Applied to the configure, build, and install steps. A variable is only set if not already present (like a
setdefault); passforce = trueto overwrite. Each value is a literal string or a table withenv(read from another environment variable),default, andforce; an entry that resolves to nothing is skipped. Independent of theif.envoverride condition.Added in version 1.0.
- experimental¶
- Type:
bool- Default:
false
- Config-settings:
experimentalorskbuild.experimental- Environment variable:
SKBUILD_EXPERIMENTAL
Enable early previews of features not finalized yet.
- fail¶
- Type:
bool- Config-settings:
failorskbuild.fail- Environment variable:
SKBUILD_FAIL
Immediately fail the build. This cannot be set in the static
[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.
- metadata¶
- Type:
dict[str,dict[str,Any]]
List dynamic metadata fields and hook locations in this table.
- minimum-version¶
- Type:
Version- Default:
“1.0” # current version
- Config-settings:
minimum-versionorskbuild.minimum-version- Environment variable:
SKBUILD_MINIMUM_VERSION
If set, this will provide a method for backward compatibility.
- null-variant¶
- Type:
bool- Default:
false
- Config-settings:
null-variantorskbuild.null-variant- Environment variable:
SKBUILD_NULL_VARIANT
Experimental PEP 817 null-variant selector.
This cannot be set in the static
[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.Added in version 1.0.
- strict-config¶
- Type:
bool- Default:
true
- Config-settings:
strict-configorskbuild.strict-config- Environment variable:
SKBUILD_STRICT_CONFIG
Strictly check all config options.
If False, warnings will be printed for unknown options.
If True, an error will be raised.
- variant¶
- Type:
list[str]- Config-settings:
variantorskbuild.variant- Environment variable:
SKBUILD_VARIANT
Experimental PEP 817 variant properties.
This cannot be set in the static
[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.Added in version 1.0.
- variant-label¶
- Type:
str- Config-settings:
variant-labelorskbuild.variant-label- Environment variable:
SKBUILD_VARIANT_LABEL
Experimental PEP 817 wheel variant label override.
This cannot be set in the static
[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.Added in version 1.0.
- variant-name¶
- Type:
list[str]- Config-settings:
variant-nameorskbuild.variant-name- Environment variable:
SKBUILD_VARIANT_NAME
Experimental PEP 817 variant properties used for wheel metadata selection.
This cannot be set in the static
[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.Added in version 1.0.
backport¶
- backport.find-python¶
- Type:
Version- Default:
“3.26.1”
- Config-settings:
backport.find-pythonorskbuild.backport.find-python- Environment variable:
SKBUILD_BACKPORT_FIND_PYTHON
If CMake is less than this value, backport a copy of FindPython.
Set to
0or an empty string to disable this.
build¶
- build.requires¶
- Type:
list[str]- Config-settings:
build.requiresorskbuild.build.requires- Environment variable:
SKBUILD_BUILD_REQUIRES
Additional
build-system.requires.Intended to be used in combination with
overrides.
- build.targets¶
- Type:
list[str]- Config-settings:
build.targetsorskbuild.build.targets- Environment variable:
SKBUILD_BUILD_TARGETS
The build targets to use when building the project.
If not specified or an empty list, the default target is used.
- build.tool-args¶
- Type:
list[str]- Config-settings:
build.tool-argsorskbuild.build.tool-args- Environment variable:
SKBUILD_BUILD_TOOL_ARGS
Extra args to pass directly to the builder in the build step.
- build.verbose¶
- Type:
bool- Default:
false
- Config-settings:
build.verboseorskbuild.build.verbose- Environment variable:
SKBUILD_BUILD_VERBOSE
Verbose printout when building.
Equivalent to
CMAKE_VERBOSE_MAKEFILE.
cmake¶
- cmake.args¶
- Type:
list[str]- Config-settings:
cmake.argsorskbuild.cmake.args- Environment variable:
SKBUILD_CMAKE_ARGS
A list of args to pass to CMake when configuring the project.
Setting this in config or envvar will override toml.
See also
- cmake.build-type¶
- Type:
str | list[str]- Default:
“Release”
- Config-settings:
cmake.build-typeorskbuild.cmake.build-type- Environment variable:
SKBUILD_CMAKE_BUILD_TYPE
The build type to use when building the project.
Pre-defined CMake options are:
Debug,Release,RelWithDebInfo,MinSizeRelCustom values can also be used.
A list of build types can be given to build and install more than one configuration into the same wheel:
["Release", "Debug"]in TOML, a repeated-Ccmake.build-type=...config-setting, orRelease;Debugas an environment variable. Single-config generators (Ninja, Makefiles) are reconfigured in place for each extra build type; multi-config generators (Visual Studio, Xcode, Ninja Multi-Config) build each--config. Every build type is installed to the same prefix, so useCMAKE_<CONFIG>_POSTFIXto avoid clobbering files between configurations.Changed in version 1.0: A list of build types can now be given.
- cmake.define¶
- Type:
dict[str,CMakeSettingsDefine]- Config-settings:
cmake.defineorskbuild.cmake.define- Environment variable:
SKBUILD_CMAKE_DEFINE
A table of defines to pass to CMake when configuring the project. Additive.
- cmake.minimum-version¶
- Type:
Version- Config-settings:
cmake.minimum-versionorskbuild.cmake.minimum-version- Environment variable:
SKBUILD_CMAKE_MINIMUM_VERSION
DEPRECATED in 0.8; use version instead.
- cmake.python-hints¶
- Type:
bool- Default:
true
- Config-settings:
cmake.python-hintsorskbuild.cmake.python-hints- Environment variable:
SKBUILD_CMAKE_PYTHON_HINTS
Do not pass the current environment’s python hints such as
Python_EXECUTABLE. Primarily used for cross-compilation where the CMAKE_TOOLCHAIN_FILE should handle it instead.
- cmake.source-dir¶
- Type:
Path- Default:
“.”
- Config-settings:
cmake.source-dirorskbuild.cmake.source-dir- Environment variable:
SKBUILD_CMAKE_SOURCE_DIR
The source directory to use when building the project.
Currently only affects the native builder (not the setuptools plugin).
- cmake.targets¶
- Type:
list[str]- Config-settings:
cmake.targetsorskbuild.cmake.targets- Environment variable:
SKBUILD_CMAKE_TARGETS
DEPRECATED in 0.10; use build.targets instead.
- cmake.toolchain-file¶
- Type:
Path- Config-settings:
cmake.toolchain-fileorskbuild.cmake.toolchain-file- Environment variable:
SKBUILD_CMAKE_TOOLCHAIN_FILE
The CMAKE_TOOLCHAIN_FILE / –toolchain used for cross-compilation.
This cannot be set in the static
[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.
- cmake.verbose¶
- Type:
bool- Config-settings:
cmake.verboseorskbuild.cmake.verbose- Environment variable:
SKBUILD_CMAKE_VERBOSE
DEPRECATED in 0.10, use build.verbose instead.
- cmake.version¶
- Type:
SpecifierSet- Config-settings:
cmake.versionorskbuild.cmake.version- Environment variable:
SKBUILD_CMAKE_VERSION
The versions of CMake to allow as a python-compatible specifier.
If CMake is not present on the system or does not pass this specifier, it will be downloaded via PyPI if possible with the equivalent specifier used.
An empty string will disable this check.
- Special cases:
On scikit-build-core 0.10+
CMakeLists.txtis the default value otherwise it’s>=3.15.If
CMakeLists.txtis passed, thecmake_minimum_requiredis read from the CMakeLists.txt file, using that as the minimum specifier. If the file fails to read,>=3.15is used instead.
See also
editable¶
- editable.mode¶
- Type:
"redirect" | "inplace"- Default:
“redirect”
- Config-settings:
editable.modeorskbuild.editable.mode- Environment variable:
SKBUILD_EDITABLE_MODE
Select the editable mode to use. Can be “redirect” (default) or “inplace”.
- editable.rebuild¶
- Type:
bool- Default:
false
- Config-settings:
editable.rebuildorskbuild.editable.rebuild- Environment variable:
SKBUILD_EDITABLE_REBUILD
Rebuild the project when the package is imported.
build-dirmust be set, except ininplacemode (where the source directory is the build directory).
- editable.rebuild-dir¶
- Type:
str- Config-settings:
editable.rebuild-dirorskbuild.editable.rebuild-dir- Environment variable:
SKBUILD_EDITABLE_REBUILD_DIR
Install rebuildable editables into this tree (a newer alternative to
editable.rebuild).Setting this turns on rebuild-on-import by itself; the
editable.rebuildflag is ignored when it is set. The compiled artifacts are installed here at first build and re-installed in place on every import-triggered rebuild, and the redirect references them by absolute path. Must be an absolute (or source-relative) path that is stable between build and run time, and supports the same template substitutions asbuild-dir. This relocates only the install tree;build-diris still required and still hosts the CMake build that the rebuild re-runs.The tree is wiped and recreated on each build, so it must be a fresh or scikit-build-core-managed directory – pointing it at a populated directory such as your source tree is refused to avoid deleting those files. A managed tree gets a
CACHEDIR.TAGand a.gitignoreso its compiled artifacts stay out of backups and version control.Added in version 1.0.
- editable.verbose¶
- Type:
bool- Default:
true
- Config-settings:
editable.verboseorskbuild.editable.verbose- Environment variable:
SKBUILD_EDITABLE_VERBOSE
Turn on verbose output for the editable mode rebuilds.
generate[]¶
- generate[].location¶
- Type:
"install" | "build" | "source"- Default:
“install”
The place to put the generated file.
The
builddirectory is useful for CMake files, and theinstalldirectory is useful for Python files, usually. You can also write directly to thesourcedirectory, will overwrite existing files & remember to gitignore the file.
- generate[].path¶
- Type:
Path
The path (relative to platlib) for the file to generate.
- generate[].template¶
- Type:
str
The template string to use for the file.
Template style placeholders are available for all the metadata.
Either this or
generate[].template-pathmust be set.See also
- generate[].template-path¶
- Type:
Path
The path to the template file. If empty, a template must be set.
Either this or
generate[].templatemust be set.See also
install¶
- install.components¶
- Type:
list[str]- Config-settings:
install.componentsorskbuild.install.components- Environment variable:
SKBUILD_INSTALL_COMPONENTS
The components to install.
If not specified or an empty list, all default components are installed.
- install.strip¶
- Type:
bool- Default:
true
- Config-settings:
install.striporskbuild.install.strip- Environment variable:
SKBUILD_INSTALL_STRIP
Whether to strip the binaries.
Equivalent to
--stripincmake install.True for release builds (Release or MinSizeRel) on scikit-build-core 0.5+.
Note
0.5-0.10.5 also incorrectly set this for debug builds.
- install.targets¶
- Type:
list[str]- Config-settings:
install.targetsorskbuild.install.targets- Environment variable:
SKBUILD_INSTALL_TARGETS
Build targets to run during the install step via
cmake --build --target.This is intended for projects that group their install rules under an umbrella “distribution” build target (such as LLVM’s
install-distribution) rather than using CMake installCOMPONENTs. Each listed target is built, which triggers its install rules into the staging prefix.This relies on the configure-time
CMAKE_INSTALL_PREFIX(set automatically by scikit-build-core to the wheel staging directory); the--stripand--componentoptions ofcmake --installdo not apply to these targets.componentsandtargetsmay be combined; both will run.Added in version 1.0.
logging¶
- logging.level¶
- Type:
"NOTSET" | "DEBUG" | "INFO" | "WARNING" | "ERROR" | "CRITICAL"- Default:
“WARNING”
- Config-settings:
logging.levelorskbuild.logging.level- Environment variable:
SKBUILD_LOGGING_LEVEL
The logging level to display.
messages¶
- messages.after-failure¶
- Type:
str- Config-settings:
messages.after-failureorskbuild.messages.after-failure- Environment variable:
SKBUILD_MESSAGES_AFTER_FAILURE
A message to print after a build failure.
- messages.after-success¶
- Type:
str- Config-settings:
messages.after-successorskbuild.messages.after-success- Environment variable:
SKBUILD_MESSAGES_AFTER_SUCCESS
A message to print after a successful build.
ninja¶
- ninja.make-fallback¶
- Type:
bool- Default:
true
- Config-settings:
ninja.make-fallbackorskbuild.ninja.make-fallback- Environment variable:
SKBUILD_NINJA_MAKE_FALLBACK
Use Make as a fallback if a suitable Ninja executable is not found.
If Make is also not available on the system, a ninja dependency is added to the
build-system.requiresaccording toninja.version.See also
- ninja.minimum-version¶
- Type:
Version- Config-settings:
ninja.minimum-versionorskbuild.ninja.minimum-version- Environment variable:
SKBUILD_NINJA_MINIMUM_VERSION
DEPRECATED in 0.8; use version instead.
- ninja.version¶
- Type:
SpecifierSet- Default:
“>=1.5”
- Config-settings:
ninja.versionorskbuild.ninja.version- Environment variable:
SKBUILD_NINJA_VERSION
The versions of Ninja to allow.
If Ninja is not present on the system or does not pass this specifier, it will be downloaded via PyPI if possible with the equivalent specifier used.
An empty string will disable this check.
See also
sdist¶
- sdist.cmake¶
- Type:
bool- Default:
false
- Config-settings:
sdist.cmakeorskbuild.sdist.cmake- Environment variable:
SKBUILD_SDIST_CMAKE
If set to True, CMake will be run before building the SDist.
- sdist.exclude¶
- Type:
list[str]- Config-settings:
sdist.excludeorskbuild.sdist.exclude- Environment variable:
SKBUILD_SDIST_EXCLUDE
Files to exclude from the SDist even if they are included by default. Supports gitignore syntax.
See also
- sdist.force-include¶
- Type:
dict[str,str]- Config-settings:
sdist.force-includeorskbuild.sdist.force-include- Environment variable:
SKBUILD_SDIST_FORCE_INCLUDE
Force-include files into the SDist.
Maps source paths to destinations relative to the SDist root. Keys are relative to the project root; they may point outside it (e.g.
../shared) or be absolute, and~is expanded. A source may be a file or a directory; directories are copied recursively, skipping VCS and__pycache__junk.Force-included files override files at the same destination. A missing source is an error.
A force-included file is forced in even if
sdist.excludematches its destination, since naming an exact source is an explicit request. A force-included directory stays subject tosdist.exclude, so a bulk copy can still be trimmed by an exclude pattern.Added in version 1.0.
- sdist.include¶
- Type:
list[str]- Config-settings:
sdist.includeorskbuild.sdist.include- Environment variable:
SKBUILD_SDIST_INCLUDE
Files to include in the SDist even if they are skipped by default. Supports gitignore syntax.
Always takes precedence over
sdist.excludeSee also
- sdist.inclusion-mode¶
- Type:
"classic" | "default" | "manual" | "explicit"- Default:
“default” # “classic”
- Config-settings:
sdist.inclusion-modeorskbuild.sdist.inclusion-mode- Environment variable:
SKBUILD_SDIST_INCLUSION_MODE
Method to use to compute the files to include and exclude.
The methods are:
“default”: Process the git ignore files. Shortcuts on ignored directories.
“classic”: The behavior before 0.12, like “default” but does not shortcut directories.
“manual”: No extra logic, based on include/exclude only.
“explicit”: Opt-in only. Nothing is included unless it matches an
includepattern, andexcludeis applied after, so it can trim included files back out. Like “manual”, git ignore files are not read.
If you don’t set this, it will be “default” unless you set the minimum version below 0.12, in which case it will be “classic”.
Added in version 0.12.
Changed in version 1.0: Added the “explicit” mode.
- sdist.reproducible¶
- Type:
bool- Default:
true
- Config-settings:
sdist.reproducibleorskbuild.sdist.reproducible- Environment variable:
SKBUILD_SDIST_REPRODUCIBLE
Try to build a reproducible distribution.
Unix and Python 3.9+ recommended.
SOURCE_DATE_EPOCHwill be used for timestamps, or a fixed value if not set.
- sdist.resolve-symlinks¶
- Type:
"all" | "external" | "none" | "classic"- Default:
“all”
- Config-settings:
sdist.resolve-symlinksorskbuild.sdist.resolve-symlinks- Environment variable:
SKBUILD_SDIST_RESOLVE_SYMLINKS
Which symlinks to resolve in the SDist, storing the target’s contents instead.
The modes are:
“all”: Resolve every symlink, copying its target’s contents.
“external”: Resolve only symlinks that point outside the project (those would be broken once the SDist is extracted); store symlinks that stay inside the project as-is.
“none”: Store every symlink as-is, including directory symlinks.
“classic”: Store file symlinks as-is, but follow directory symlinks, copying their contents (scikit-build-core 0.x behavior).
A symlink that can’t be resolved (dangling, or a directory symlink loop) is stored as a symlink in every mode, with a warning if it was supposed to be resolved.
If you don’t set this, it will be “all” unless you set the minimum version below 1.0, in which case it will be “classic” to preserve backward compatibility.
Added in version 1.0.
search¶
- search.site-packages¶
- Type:
bool- Default:
true
- Config-settings:
search.site-packagesorskbuild.search.site-packages- Environment variable:
SKBUILD_SEARCH_SITE_PACKAGES
Add the python build environment site_packages folder to the CMake prefix paths.
wheel¶
- wheel.build-tag¶
- Type:
str- Config-settings:
wheel.build-tagorskbuild.wheel.build-tag- Environment variable:
SKBUILD_WHEEL_BUILD_TAG
The build tag to use for the wheel. If empty, no build tag is used.
- wheel.cmake¶
- Type:
bool- Default:
true
- Config-settings:
wheel.cmakeorskbuild.wheel.cmake- Environment variable:
SKBUILD_WHEEL_CMAKE
Run CMake as part of building the wheel.
- wheel.exclude¶
- Type:
list[str]- Config-settings:
wheel.excludeorskbuild.wheel.exclude- Environment variable:
SKBUILD_WHEEL_EXCLUDE
A set of patterns to exclude from the wheel.
This is additive to the SDist exclude patterns. This applies to the final paths in the wheel, and can exclude files from CMake output as well. Editable installs may not respect this exclusion.
- wheel.expand-macos-universal-tags¶
- Type:
bool- Default:
false
- Config-settings:
wheel.expand-macos-universal-tagsorskbuild.wheel.expand-macos-universal-tags- Environment variable:
SKBUILD_WHEEL_EXPAND_MACOS_UNIVERSAL_TAGS
Fill out extra tags that are not required.
This adds “x86_64” and “arm64” to the list of platforms when “universal2” is used, which helps older Pip’s (before 21.0.1) find the correct wheel.
- wheel.force-include¶
- Type:
dict[str,str]- Config-settings:
wheel.force-includeorskbuild.wheel.force-include- Environment variable:
SKBUILD_WHEEL_FORCE_INCLUDE
Force-include files into the wheel.
Maps source paths to destinations relative to the platlib (the package area). Keys are relative to the project root; they may point outside it (e.g.
../shared) or be absolute, and~is expanded. A source may be a file or a directory; directories are copied recursively, skipping VCS and__pycache__junk.A
${SKBUILD_<TREE>_DIR}prefix (e.g.${SKBUILD_DATA_DIR}/foo) targets that wheel tree instead of the platlib, matching theSKBUILD_*_DIRCMake cache variables (DATA,SCRIPTS,HEADERS,PLATLIB,METADATA, …). The deprecated leading-slash form (/data,/scripts, …) selects the same trees but requiresexperimental.Force-included files are placed last, so they override discovered package files and CMake output at the same destination. A missing source is an error.
A force-included file also overrides
wheel.exclude, since naming an exact source is an explicit request for that file. A force-included directory stays subject towheel.exclude, so a bulk copy can still be trimmed by an exclude pattern.If a source is missing on disk, it is looked up through
sdist.force-include(by exact destination or under a force-included directory) and read from that original source instead. This lets a source that names an sdist output (vendored viasdist.force-include) build from both a source tree and an unpacked sdist.In a redirect-mode editable install, platlib entries are served live from their sources through the import redirect instead of being copied: importable modules always, data files when they keep their filename and sit directly inside a top-level package. Anything else (other wheel trees; renamed, top-level, or nested data files) is still copied at install time.
Added in version 1.0.
- wheel.install-dir¶
- Type:
str- Config-settings:
wheel.install-dirorskbuild.wheel.install-dir- Environment variable:
SKBUILD_WHEEL_INSTALL_DIR
The CMake install prefix relative to the platlib wheel path.
You might set this to the package name to install everything under the package namespace in a pythonic design.
The original dir is still at
SKBUILD_PLATLIB_DIR(alsoSKBUILD_DATA_DIR, etc. are available).A
${SKBUILD_<TREE>_DIR}prefix (e.g.${SKBUILD_DATA_DIR}/foo) targets that wheel tree instead of the platlib, matching theSKBUILD_*_DIRCMake cache variables. Available trees:PLATLIB/PURELIB,DATA,HEADERS,SCRIPTS,METADATA,NULL.Changed in version 1.0: Added the
${SKBUILD_<TREE>_DIR}prefix for targeting wheel trees.Warning
EXPERIMENTAL A leading-slash absolute path (
/platlib,/data,/headers,/scripts, …) is the deprecated spelling of the${SKBUILD_<TREE>_DIR}form and is one level higher than the platlib root.
- wheel.license-files¶
- Type:
list[str]- Config-settings:
wheel.license-filesorskbuild.wheel.license-files- Environment variable:
SKBUILD_WHEEL_LICENSE_FILES
A list of license files to include in the wheel. Supports glob patterns.
The default is
["LICEN[CS]E*", "COPYING*", "NOTICE*", "AUTHORS*"].Warning
Must not be set if
project.license-filesis set.
- wheel.packages¶
- Type:
list[str]- Default:
[“src/<package>”, “python/<package>”, “<package>”]
- Config-settings:
wheel.packagesorskbuild.wheel.packages- Environment variable:
SKBUILD_WHEEL_PACKAGES
A list of packages to auto-copy into the wheel.
If this is not set, it will default to the first of
src/<package>,python/<package>, or<package>if they exist. The prefix(s) will be stripped from the package name inside the wheel.An entry may also point at a single module file (e.g.
hello.py), which is copied in as a top-level module rather than a package directory.If a dict, provides a mapping of package name to source directory.
Changed in version 1.0: An entry may point at a single module file.
- wheel.platlib¶
- Type:
bool- Config-settings:
wheel.platliborskbuild.wheel.platlib- Environment variable:
SKBUILD_WHEEL_PLATLIB
Target the platlib or the purelib.
If not set, the default is to target the platlib if
wheel.cmakeistrue, and the purelib otherwise.
- wheel.py-api¶
- Type:
str- Config-settings:
wheel.py-apiorskbuild.wheel.py-api- Environment variable:
SKBUILD_WHEEL_PY_API
The Python version tag used in the wheel file.
The default (empty string) will use the default Python version.
You can also set this to “cp38” to enable the CPython 3.8+ Stable ABI / Limited API (only on CPython and if the version is sufficient, otherwise this has no effect). For free-threaded Python, you can use “cp315t” to enable the free-threaded stable ABI (only on CPython free-threaded builds and if the version is sufficient). You can request both with “cp315.cp315t”. On a free-threaded build this emits a combined “cp315-abi3.abi3t” tag: abi3t is a subset of abi3 (PEP 803), so the single free-threaded binary also loads under a GIL-enabled CPython 3.15+. On a GIL build only abi3 can be produced, so it falls back to “cp315-abi3”. The combined tag shares one minor version, so the classic abi3 minor must not be newer than the free-threaded one (e.g. “cp316.cp315t” is rejected). Or you can set it to “py3” or “py2.py3” to ignore Python ABI compatibility. The ABI tag is inferred from this tag.
This value is used to construct
SKBUILD_SABI_COMPONENTCMake variable.Changed in version 1.0: Added the free-threaded stable ABI (“cp315t”) and the combined abi3.abi3t tag (“cp315.cp315t”).
- wheel.reproducible¶
- Type:
bool- Default:
false
- Config-settings:
wheel.reproducibleorskbuild.wheel.reproducible- Environment variable:
SKBUILD_WHEEL_REPRODUCIBLE
Try to build a reproducible wheel.
Unix and Python 3.9+ recommended.
When enabled, archive timestamps and file permissions are normalized, and
SOURCE_DATE_EPOCHis exported to the CMake build (if not already set) so compilers that honor it can produce deterministic output.SOURCE_DATE_EPOCHis used for timestamps if set, or a fixed value if not.Added in version 1.0.
See also
- wheel.tags¶
- Type:
list[str]- Config-settings:
wheel.tagsorskbuild.wheel.tags- Environment variable:
SKBUILD_WHEEL_TAGS
Wheel tags to manually force, {interpreter}-{abi}-{platform} format.
Manually specify the wheel tags to use, ignoring other inputs such as
wheel.py-api. Each tag must be of the format {interpreter}-{abi}-{platform}. If not specified, these tags are automatically calculated. This cannot be set in the static[tool.scikit-build]table; use it in an override, config-settings, or an environment variable.