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