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.0.tar.gz (6.9 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.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scikit_build_core_conan-0.7.0.tar.gz
  • Upload date:
  • Size: 6.9 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.0.tar.gz
Algorithm Hash digest
SHA256 ad621a898c752997aa645aad6be876fea9b7106ce26dba526d8b7c5bc76b8793
MD5 eaef11180b61157a49aed65870747189
BLAKE2b-256 3bb353ae245c0aa60f018d297ceb35568434cf6f40fac1412fe590d0727f3f38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scikit_build_core_conan-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6847dddb4bdbaf4af898d2f534d8413738365b78d4516630adcdc438b496d678
MD5 256c059d9e96c1c04462d487970c26db
BLAKE2b-256 ef75f4a11d10cacd7397d8031e0d5d2cedc6bbaff502e8822a1e6340555e26a6

See more details on using hashes here.

Provenance

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