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 = "/path/to/profile"
options = []
settings = []
config = []
generator = "Ninja"
output_folder = "build"
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"
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
Hashes for scikit_build_core_conan-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1268a87f6aef257ae12ade59b31daccf88f57edc398bff5a59c0b630dc1e89c8 |
|
MD5 | b3584a9db4cec4be3f82fcd0a5a32565 |
|
BLAKE2b-256 | e6645d8fa88caca8af68a7729dae86382b05d307fa65a1fce98cb63bb011b86d |
Hashes for scikit_build_core_conan-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e025a9d229177d8d1319d0b78542eecc3df3047e330af9fedd2122cf92ce2a5c |
|
MD5 | 72c1d1b6e9fe7b60abcf5f806127b54d |
|
BLAKE2b-256 | fd435c2d348e116c6a86952800e1938f97d5c637e488336d1cb09d5cddaf9d3f |