base_rag/scripts/build.sh

13 lines
158 B
Bash
Executable File

#!/bin/bash
# 构建脚本
set -e
echo "清理..."
rm -rf build/ dist/ *.egg-info/
echo "构建..."
python -m build
echo "完成! 输出在 dist/ 目录"