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:
@@ -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"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user