{"id":15136908,"url":"https://github.com/wu-vincent/scikit-build-core-conan","last_synced_at":"2026-01-23T00:49:39.865Z","repository":{"id":238999959,"uuid":"796960298","full_name":"wu-vincent/scikit-build-core-conan","owner":"wu-vincent","description":"A conan plugin for scikit-build-core","archived":false,"fork":false,"pushed_at":"2025-09-18T00:06:08.000Z","size":58,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T03:26:11.584Z","etag":null,"topics":["cmake","conan","cpp","python","scikit","skbuild"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wu-vincent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-07T00:05:43.000Z","updated_at":"2025-12-13T21:30:44.000Z","dependencies_parsed_at":"2025-10-04T03:30:42.243Z","dependency_job_id":"2d357a4d-5a8a-4618-b685-e66a534eb905","html_url":"https://github.com/wu-vincent/scikit-build-core-conan","commit_stats":null,"previous_names":["wu-vincent/scikit-build-core-conan"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/wu-vincent/scikit-build-core-conan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wu-vincent%2Fscikit-build-core-conan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wu-vincent%2Fscikit-build-core-conan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wu-vincent%2Fscikit-build-core-conan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wu-vincent%2Fscikit-build-core-conan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wu-vincent","download_url":"https://codeload.github.com/wu-vincent/scikit-build-core-conan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wu-vincent%2Fscikit-build-core-conan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28676147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","conan","cpp","python","scikit","skbuild"],"created_at":"2024-09-26T06:41:45.705Z","updated_at":"2026-01-23T00:49:39.859Z","avatar_url":"https://github.com/wu-vincent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scikit-build-core-conan\n\n[![CI](https://github.com/wu-vincent/scikit-build-core-conan/actions/workflows/ci.yml/badge.svg)](https://github.com/wu-vincent/scikit-build-core-conan/actions/workflows/ci.yml)\n[![PyPI version](https://img.shields.io/pypi/v/scikit-build-core-conan)](https://pypi.org/project/scikit-build-core-conan/)\n[![Python versions](https://img.shields.io/pypi/pyversions/scikit-build-core-conan)](https://pypi.org/project/scikit-build-core-conan/)\n[![License](https://img.shields.io/pypi/l/scikit-build-core-conan)](https://github.com/wu-vincent/scikit-build-core-conan/blob/main/LICENSE)\n\nA [Conan](https://conan.io/) plugin for [scikit-build-core](https://github.com/scikit-build/scikit-build-core) that\nsimplifies building Python extensions with C/C++ dependencies managed by Conan.\n\n**Why use this?** Instead of manually configuring Conan and CMake toolchains, this plugin handles dependency resolution,\nbuild configuration, and CMake integration automatically - all configured through your `pyproject.toml`.\n\n## Features\n\n- **Seamless Conan 2.x integration** with scikit-build-core's modern Python build system\n- **Local recipe support** for consuming in-development Conan packages\n- **Lockfile support** for reproducible builds across environments\n- **Full configuration via `pyproject.toml`** - no separate Conan commands needed\n\n## Quick Start\n\nAdd `scikit-build-core-conan` to your `build-system.requires` and specify `scikit_build_core_conan.build` as your build\nbackend. You do not need to include `scikit-build-core` separately - it is required automatically.\n\n```toml\n[build-system]\nrequires = [\"scikit-build-core-conan\"]\nbuild-backend = \"scikit_build_core_conan.build\"\n\n[project]\nname = \"my_project\"\nversion = \"0.0.1\"\n```\n\nWith this configuration, the plugin will:\n\n1. Look for a `conanfile.py` or `conanfile.txt` in your project root\n2. Install dependencies using Conan (building from source if needed)\n3. Configure CMake with the appropriate toolchain\n4. Build your Python extension\n\n## Configuration\n\nAll options can be placed in `pyproject.toml` under `[tool.scikit-build-core-conan]`, or passed via\n`-C/--config-setting` in build or `-C/--config-settings` in pip.\n\n```toml\n[tool.scikit-build-core-conan]\n# Path to a folder containing a recipe (conanfile.py or conanfile.txt)\npath = \".\"\n\n# Specify which packages to build from source. Possible values: \"never\", \"missing\", \"cascade\", [\"pattern\", ...]\nbuild = \"missing\"\n# Generators to use\ngenerator = \"\"\n# The root output folder for generated and build files\noutput-folder = \"\"\n# Deploy using the provided deployer to the output folder. Built-in deployers: full_deploy, direct_deploy, runtime_deploy\ndeployer = []\n# Deployer output folder, base build folder by default if not set\ndeployer-folder = \"\"\n# Execute the deploy() method of the packages matching the provided patterns\ndeployer-package = []\n\n# Look in the specified remote or remotes server\nremote = []\n# Do not use remote, resolve exclusively in the cache\nno-remote = false\n# Will install newer versions and/or revisions in the local cache\nupdate = false\n\n# Apply the specified profile to the host context\nprofile = \"\"\n# Apply the specified profile to the build context\nprofile-build = \"\"\n# Apply the specified profile to both contexts at once\nprofile-all = \"\"\n# Apply the specified options to the host context. Example: [\"pkg/*:with_qt=True\"]\noptions = []\n# Apply the specified options to the build context\noptions-build = []\n# Apply the specified options to both contexts at once\noptions-all = []\n# Apply the specified settings to the host context. Example: [\"compiler=gcc\"]\nsettings = []\n# Apply the specified settings to the build context\nsettings-build = []\n# Apply the specified settings to both contexts at once\nsettings-all = []\n# Apply the specified conf to the host context. Example: [\"tools.cmake.cmaketoolchain:generator=Xcode\"]\nconfig = []\n# Apply the specified conf to the build context\nconfig-build = []\n# Apply the specified conf to both contexts at once\nconfig-all = []\n\n# Provide a package name if not specified in conanfile\nname = \"\"\n# Provide a package version if not specified in conanfile\nversion = \"\"\n# Provide a user if not specified in conanfile\nuser = \"\"\n# Provide a channel if not specified in conanfile\nchannel = \"\"\n\n# Path to a lockfile. Use \"\" to avoid automatic use of existing conan.lock file\nlockfile = \"\"\n# Do not raise an error if some dependency is not found in lockfile\nlockfile-partial = false\n# Filename of the updated lockfile\nlockfile-out = \"\"\n# Remove unused entries from the lockfile\nlockfile-clean = false\n```\n\n### Local Recipes\n\nSometimes you may want to consume a local recipe rather than from the Conan Center Index. You can do this like this:\n\n```toml\n[[tool.scikit-build-core-conan.local-recipes]]\npath = \"path/to/recipe\"\nname = \"recipe\"   # optional: package name if not specified in conanfile\nversion = \"0.0.1\" # optional: package version if not specified in conanfile\n```\n\n### Overrides\n\n`scikit-build-core-conan` uses the same override system as `scikit-build-core`. For more details, check out\nthe [documentation](https://scikit-build-core.readthedocs.io/en/latest/configuration/overrides.html) of\n`scikit-build-core`.\n\nFor example:\n\n```toml\n[[tool.scikit-build-core-conan.overrides]]\nif.platform-system = \"linux\"\nprofile = \"path/to/profile\"\n```\n\n## Projects Using This Build Backend\n\n- **[endstone](https://github.com/EndstoneMC/endstone)**: A high-level plugin API for Minecraft: Bedrock Edition\n  Dedicated Servers.\n\n*Using scikit-build-core-conan in your project? Feel free to open a PR to add it here!*\n\n## Roadmap\n\nThis project will be renamed to `scikit-build-conan` upon the 1.0 stable release.\n\n## Links\n\n- [Changelog](CHANGELOG.md)\n- [scikit-build-core documentation](https://scikit-build-core.readthedocs.io/)\n- [Conan documentation](https://docs.conan.io/)\n- [Report issues](https://github.com/wu-vincent/scikit-build-core-conan/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwu-vincent%2Fscikit-build-core-conan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwu-vincent%2Fscikit-build-core-conan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwu-vincent%2Fscikit-build-core-conan/lists"}