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.2.tar.gz (6.6 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.5.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scikit_build_core_conan-0.5.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for scikit_build_core_conan-0.5.2.tar.gz
Algorithm Hash digest
SHA256 a44608566f7c023e359fcca5f43100c4155b25fb891f4587477a07d07561bdd2
MD5 6f52d35fc3f97b807f7d59547e8d6322
BLAKE2b-256 c88f994d3069ec1c02c291319bb03344e64175329c13aa50f878cbfc1b09007b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scikit_build_core_conan-0.5.2.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.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for scikit_build_core_conan-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c86bab2499719628793fe1b6d892c3448bda4006cd0fd0c40714e3a7e02f5066
MD5 7146f3bcb8c923e5ad1a468b96434baa
BLAKE2b-256 7b0aa8265eb75895e93a226bff9ed275b030af8cab6f4c2fc4c02a0a9c2f663e

See more details on using hashes here.

Provenance

The following attestation bundles were made for scikit_build_core_conan-0.5.2-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