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.7.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scikit_build_core_conan-0.7.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scikit_build_core_conan-0.7.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for scikit_build_core_conan-0.7.1.tar.gz
Algorithm Hash digest
SHA256 f867e14a00138a24cd2c2faf93c7ee07371b84ee21d7ddaed86880ff05671ecd
MD5 1e6c8e32fca9ff422fb4c73244800a06
BLAKE2b-256 c6a841305caa08a7ba9281760b674dae3b9e67adb6c3f2923a12fc183ece11bd

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for scikit_build_core_conan-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 697c7d134b3f40f2baf28c652ccc70e4eaee16b283621495a441f62bc52c2bcd
MD5 1ca45b5fe32c82b857e4acb25768e2a9
BLAKE2b-256 5a16dff0bd4bb0480d5bfed85324d0c57fc8548bc7ca936117bed147dad95a29

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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