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.
Installation
pip install scikit-build-core-conan
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.
Project Example
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
scikit-build-core-conan
supports a broad range of configuration options. 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
. Below are the supported configuration options:
[tool.scikit-build-core-conan]
path = "."
build = "missing"
profile = "default"
options = []
settings = []
config = []
generator = "Ninja"
output_folder = "build"
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
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
File details
Details for the file scikit_build_core_conan-0.5.1.tar.gz
.
File metadata
- Download URL: scikit_build_core_conan-0.5.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc756a06766e364bb33dbbea4c2fd70d032c7da2b6dc32ac33c625ae0b490091 |
|
MD5 | 7c987fca7cab9b69c55c43b2a9777965 |
|
BLAKE2b-256 | 3720f270aadf060abdfaede5ad3841cf21c5ee684f22dbd42441af79b910529f |
Provenance
The following attestation bundles were made for scikit_build_core_conan-0.5.1.tar.gz
:
Publisher:
cd.yml
on wu-vincent/scikit-build-core-conan
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
scikit_build_core_conan-0.5.1.tar.gz
- Subject digest:
fc756a06766e364bb33dbbea4c2fd70d032c7da2b6dc32ac33c625ae0b490091
- Sigstore transparency entry: 149353128
- Sigstore integration time:
- Predicate type:
File details
Details for the file scikit_build_core_conan-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: scikit_build_core_conan-0.5.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce58bf107aa618f9eccead7d8640eb2b5f238250a2b25bef620767d2e2127978 |
|
MD5 | d9431bc90e6ed3b50dca4dce6d4b2e8f |
|
BLAKE2b-256 | d09563670f33a52b18ff943c5f7fcbe2183712bccb96531b69ca83a18fcc18e1 |
Provenance
The following attestation bundles were made for scikit_build_core_conan-0.5.1-py3-none-any.whl
:
Publisher:
cd.yml
on wu-vincent/scikit-build-core-conan
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
scikit_build_core_conan-0.5.1-py3-none-any.whl
- Subject digest:
ce58bf107aa618f9eccead7d8640eb2b5f238250a2b25bef620767d2e2127978
- Sigstore transparency entry: 149353129
- Sigstore integration time:
- Predicate type: