CostPrediction/docs/release_guide.md

31 lines
702 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Windows 发布包制作指南
1. 准备工作
1.1 安装必要软件
- Python 3.11.8: <https://www.python.org/downloads/>
- Visual Studio Build Tools: <https://visualstudio.microsoft.com/visual-cpp-build-tools/>
1.2 下载安装程序
- Python 3.11.8: <https://www.python.org/ftp/python/3.11.8/python-3.11.8-amd64.exe>
- Visual C++ Redistributable: <https://aka.ms/vs/17/release/vc_redist.x64.exe可选如果系统已安装则不需要>
1. 克隆项目
```powershell
git clone [repository-url]
cd cost-prediction
```
2. 打包步骤
```powershell
# 运行打包脚本
.\scripts\build_win.ps1
```
打包完成后会在项目根目录生成 `cost-prediction-[version]-win64.zip`