Skip to main content

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

scikit_build_core_conan-0.5.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

scikit_build_core_conan-0.5.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file scikit_build_core_conan-0.5.0.tar.gz.

File metadata

File hashes

Hashes for scikit_build_core_conan-0.5.0.tar.gz
Algorithm Hash digest
SHA256 914a5b6f180706871538b350a8db72f59e39ee4025fe7f8aef5d25d9de553436
MD5 a36305f634c18e247cca53d38e753ea3
BLAKE2b-256 d8b76c96f27ea7c7f6d744f27a01d91536ea75b86ffc145647d54dba01a793e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for scikit_build_core_conan-0.5.0.tar.gz:

Publisher: cd.yml on wu-vincent/scikit-build-core-conan

Attestations:

File details

Details for the file scikit_build_core_conan-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for scikit_build_core_conan-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 408b8d4c7dc5d6b25405247d91d2195eb43e2ce95962de1d43a82e21502a8463
MD5 16d441af6d05507b492862095a4bbf58
BLAKE2b-256 e29c63a9cda357c1a9d775c517dc923daa9ad5aaa8d5a295ee4756a12d65bf44

See more details on using hashes here.

Provenance

The following attestation bundles were made for scikit_build_core_conan-0.5.0-py3-none-any.whl:

Publisher: cd.yml on wu-vincent/scikit-build-core-conan

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page