fix: remove Chinese comments from code

- Replace all Chinese comments with English
- Ensure code is internationalization-friendly
This commit is contained in:
Andy Lee
2025-07-25 12:55:28 -07:00
parent d1fefb6378
commit 74d485c908
2 changed files with 7 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ dependencies = [
wheel.exclude = ["CMakeLists.txt", "src", "third_party"]
sdist.include = ["CMakeLists.txt", "src", "third_party", "leann_backend_hnsw/*.txt"]
cmake.args = ["-DCMAKE_BUILD_TYPE=Release"]
# 确保 CMake 可以找到系统库
# Ensure CMake can find system libraries
build-dir = "build/{cache_tag}"
minimum-version = "build-system.requires"

View File

@@ -62,14 +62,14 @@ leann-backend-diskann = { path = "packages/leann-backend-diskann", editable = tr
leann-backend-hnsw = { path = "packages/leann-backend-hnsw", editable = true }
[tool.cibuildwheel]
# 跳过32位和PyPy构建
# Skip 32-bit and PyPy builds
skip = "*-win32 *-manylinux_i686 pp* *musllinux*"
# 使用manylinux2014以获得最大兼容性(支持GLIBC 2.17
# Use manylinux2014 for maximum compatibility (supports GLIBC 2.17)
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
# Linux系统依赖
# Linux system dependencies
[tool.cibuildwheel.linux]
before-all = """
yum install -y epel-release
@@ -77,12 +77,12 @@ before-all = """
ln -sf /usr/bin/cmake3 /usr/bin/cmake
"""
# macOS系统依赖
# macOS system dependencies
[tool.cibuildwheel.macos]
before-all = "brew install boost zeromq openblas cmake libomp"
# 设置macOS最小版本
# Set minimum macOS version
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0", CMAKE_OSX_DEPLOYMENT_TARGET = "11.0" }
# 环境变量配置
# Environment variables configuration
[tool.cibuildwheel.environment]
CMAKE_BUILD_PARALLEL_LEVEL = "8"