Unverified Commit 20f20928 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[python-package] upgrade to scikit-build-core 0.9.3 (#6263)

parent 88cec477
...@@ -57,26 +57,30 @@ changelog = "https://github.com/microsoft/LightGBM/releases" ...@@ -57,26 +57,30 @@ changelog = "https://github.com/microsoft/LightGBM/releases"
# start:build-system # start:build-system
[build-system] [build-system]
requires = ["scikit-build-core>=0.4.4"] requires = ["scikit-build-core>=0.9.3"]
build-backend = "scikit_build_core.build" build-backend = "scikit_build_core.build"
# based on https://github.com/scikit-build/scikit-build-core#configuration # based on https://github.com/scikit-build/scikit-build-core#configuration
[tool.scikit-build] [tool.scikit-build]
cmake.minimum-version = "3.18" cmake.version = ">=3.18"
ninja.minimum-version = "1.11" ninja.version = ">=1.11"
ninja.make-fallback = true ninja.make-fallback = true
cmake.args = [ cmake.args = [
"-D__BUILD_FOR_PYTHON:BOOL=ON" "-D__BUILD_FOR_PYTHON:BOOL=ON"
] ]
cmake.verbose = false cmake.verbose = false
cmake.build-type = "Release" cmake.build-type = "Release"
cmake.targets = ["_lightgbm"]
# stripping binaries should be turned back on once this is fixed:
# https://github.com/jameslamb/pydistcheck/issues/235
install.strip = false
logging.level = "INFO" logging.level = "INFO"
sdist.reproducible = true sdist.reproducible = true
wheel.py-api = "py3" wheel.py-api = "py3"
experimental = false experimental = false
strict-config = true strict-config = true
minimum-version = "0.4.4" minimum-version = "0.9.3"
# end:build-system # end:build-system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment