# 构建依赖配置
# 格式: package_name[version_spec] ; [platform_condition] ; install_method ; [description]

# Python 包依赖
numpy>=1.20.0 ; ; pip ; required for most numeric packages
setuptools>=40.0.0 ; ; pip ; required for building packages  
wheel>=0.30.0,<0.38 ; python_version < '3.8' ; pip ; compatible wheel version for Python 3.7
wheel>=0.30.0 ; python_version >= '3.8' ; pip ; required for wheel creation
Cython>=0.29.0,<3.0 ; ; pip ; ta-lib compilation requires Cython < 3.0

# 平台特定工具
patchelf ; sys_platform == "linux" ; conda ; required for auditwheel on Linux
delocate<0.11 ; sys_platform == "darwin" and python_version < '3.8' ; conda ; compatible delocate version for Python 3.7
delocate ; sys_platform == "darwin" and python_version >= '3.8' ; conda ; required for wheel repair on macOS

# 系统库和构建工具
libta-lib ; sys_platform == "linux" ; conda ; ta-lib C library for Linux
cmake>=3.12,<3.20 ; ; conda ; required for building packages with C/C++ extensions (e.g., osqp)