fix: adjust configuration for Colab compatibility

- Remove Windows support as not needed
- Move Python finding hints to cibuildwheel environment variables
- Keep pyproject.toml clean to avoid breaking normal builds
- Target manylinux_2_28 for better Colab compatibility
This commit is contained in:
Andy Lee
2025-07-25 10:09:21 -07:00
parent 2957c8bf5a
commit 015f43733a
4 changed files with 7 additions and 19 deletions

View File

@@ -21,7 +21,4 @@ wheel.exclude = ["CMakeLists.txt", "src", "third_party/**", "*.o", "*.so"]
sdist.include = ["CMakeLists.txt", "src", "third_party", "leann_backend_diskann/*.txt"]
[tool.scikit-build.cmake.define]
CMAKE_BUILD_PARALLEL_LEVEL = "8"
# Help CMake find Python in cibuildwheel environments
Python_FIND_VIRTUALENV = "ONLY"
Python3_FIND_VIRTUALENV = "ONLY"
CMAKE_BUILD_PARALLEL_LEVEL = "8"

View File

@@ -24,7 +24,4 @@ cmake.verbose = true
# CMake definitions to optimize compilation
[tool.scikit-build.cmake.define]
CMAKE_BUILD_PARALLEL_LEVEL = "8"
# Help CMake find Python in cibuildwheel environments
Python_FIND_VIRTUALENV = "ONLY"
Python3_FIND_VIRTUALENV = "ONLY"
CMAKE_BUILD_PARALLEL_LEVEL = "8"