31 lines
702 B
Markdown
31 lines
702 B
Markdown
# 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`。
|