Fix TOML parsing errors in pyproject.toml for scikit-build configuration (#27)

* Update wheel configuration in pyproject.toml to include package tree

* Added python dependency and shell globbing for metal command
This commit is contained in:
3n0chK4n
2025-08-06 00:15:12 +01:00
committed by GitHub
parent a6d9d90ab5
commit d8db548846
2 changed files with 3 additions and 3 deletions

View File

@@ -42,11 +42,10 @@ packages = ["gpt_oss"]
[tool.scikit-build]
cmake.source-dir = "." # pick up the root CMakeLists.txt
wheel.packages = ["gpt_oss"] # copy the whole Python package tree
cmake.args = [
"-DGPTOSS_BUILD_PYTHON=ON",
"-DCMAKE_BUILD_TYPE=Release",
"-DBUILD_SHARED_LIBS=OFF",
]
[tool.scikit-build.wheel]
plat-name = "manylinux_2_17_x86_64"
packages = ["gpt_oss"] # copy the whole Python package tree