A conan plugin for scikit-build-core
Project description
scikit-build-core-conan
A conan plugin for scikit-build-core
[!NOTE] This project is under early development. Should you encounter any problems, please feel free to open an issue.
Example
To use scikit-build-core-conan, add it to your build-system.requires, and specify
the scikit_build_core_conan.build builder as your build-system.build-backend. You do not need to
specify scikit_build_core as it will be required automatically.
Here's a simple example on how you can use scikit-build-core-conan in your pyproject.toml.
[build-system]
requires = ["scikit-build-core-conan"]
build-backend = "scikit_build_core_conan.build"
[project]
name = "scikit_build_conan_simplest"
version = "0.0.1"
Configuration
All configuration These options can be placed directly in the pyproject.toml file. They can also be passed via
-C/--config-setting in build or -C/--config-settings in pip.
A quick summary and some defaults are listed below:
[tool.scikit-build-core-conan]
# Path to a folder containing a recipe (conanfile.py or conanfile.txt)
path = "."
# Specify which packages to build from source
build = "missing"
# Look in the specified remote or remotes server. Leave it empty will use all remotes.
remote = []
# Do not use remote, resolve exclusively in the cache
no-remote = false
# Apply the specified profile to the host (default) context
profile = ""
# Apply the specified profile to the build context
profile-build = ""
# Apply the specified profile to both contexts
profile-all = ""
# Apply the specified options to the host (default) context
options = []
# Apply the specified options to the build context
options-build = []
# Apply the specified options to both contexts
options-all = []
# Apply the specified settings to the host (default) context
settings = []
# Apply the specified settings to the build context
settings-build = []
# Apply the specified settings to both contexts
settings-all = []
# Apply the specified config to the host (default) context
config = []
# Apply the specified config to the build context
config-build = []
# Apply the specified config to both contexts
config-all = []
# Generators to use (e.g. Ninja)
generator = ""
# The root output folder for generated and build files
output-folder = ""
Local recipes
Sometimes you may want to consume a local recipe rather than from the conan centre index. You can do this like this:
[[tool.scikit-build-core-conan.local-recipes]]
path = "path/to/recipe"
name = "recipe" # optional: package name if not specified in conanfile
version = "0.0.1" # optional: package version if not specified in conanfile
Overrides
scikit-build-core-conan uses the same override system as scikit-build-core. For more details, check out the
documentation of scikit-build-core.
For example:
[[tool.scikit-build-core-conan.overrides]]
if.platform-system = "linux"
profile = "path/to/profile"
Projects using this build backend:
- endstone: A high-level plugin api for Minecraft: Bedrock Edition Dedicated Servers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scikit_build_core_conan-0.8.0.tar.gz.
File metadata
- Download URL: scikit_build_core_conan-0.8.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7a1680f80c1c18d0de0079e429cf3dcec8c9f73c72d9a4218130e11059fd004
|
|
| MD5 |
3e2098d76b6daead67b8e14259355cd9
|
|
| BLAKE2b-256 |
4c625a027d674caa4cac1e65a07462f8734dc762aa496e102704a6a77cecffba
|
Provenance
The following attestation bundles were made for scikit_build_core_conan-0.8.0.tar.gz:
Publisher:
cd.yml on wu-vincent/scikit-build-core-conan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scikit_build_core_conan-0.8.0.tar.gz -
Subject digest:
e7a1680f80c1c18d0de0079e429cf3dcec8c9f73c72d9a4218130e11059fd004 - Sigstore transparency entry: 531537787
- Sigstore integration time:
-
Permalink:
wu-vincent/scikit-build-core-conan@249fb0f670488a896ada61c1fd8ab1baae64639f -
Branch / Tag:
refs/tags/0.8.0 - Owner: https://github.com/wu-vincent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@249fb0f670488a896ada61c1fd8ab1baae64639f -
Trigger Event:
release
-
Statement type:
File details
Details for the file scikit_build_core_conan-0.8.0-py3-none-any.whl.
File metadata
- Download URL: scikit_build_core_conan-0.8.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ac7c4cc3919f96d4e840f585a685734cc5ca03c42f789e74345e95b621d2ac
|
|
| MD5 |
077ac3679febb8e2181972692b0c69b9
|
|
| BLAKE2b-256 |
74f32b9ecf79c768123630df5651d134ad3d48145e55d762f43e1ac7b29c1a1b
|
Provenance
The following attestation bundles were made for scikit_build_core_conan-0.8.0-py3-none-any.whl:
Publisher:
cd.yml on wu-vincent/scikit-build-core-conan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scikit_build_core_conan-0.8.0-py3-none-any.whl -
Subject digest:
45ac7c4cc3919f96d4e840f585a685734cc5ca03c42f789e74345e95b621d2ac - Sigstore transparency entry: 531537804
- Sigstore integration time:
-
Permalink:
wu-vincent/scikit-build-core-conan@249fb0f670488a896ada61c1fd8ab1baae64639f -
Branch / Tag:
refs/tags/0.8.0 - Owner: https://github.com/wu-vincent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@249fb0f670488a896ada61c1fd8ab1baae64639f -
Trigger Event:
release
-
Statement type: