This commit is contained in:
2025-11-25 11:41:56 +08:00
parent af24b473cd
commit c8228cc68f
3 changed files with 67 additions and 24 deletions

View File

@@ -1,4 +1,10 @@
# APP打包步骤
# APP打包教程
请先运行get_license.py脚本获取机器码
并将机器码交给机器码管理人员负责授权!!!
@@ -107,8 +113,29 @@ project_urls={
完成上述的修改后,在终端的项目输入以下命令并回车进行打包
```
python setup.py sdist
```bash
python setup.py sdist bdist_wheel
```
运行完成后会在dist目录下生成一个打包过后的文件
运行完成后会在dist目录下生成两个文件,如:
hertz_studio_django_yolo-1.0.1.tar.gz和hertz_studio_django_yolo-1.0.1-py3-none-any.whl
## 七、测试pip下载
测试时请将下面的hertz_studio_django_yolo-1.0.1-py3-none-any.whl换成你自己生成的文件
```bash
pip install dist/hertz_studio_django_yolo-1.0.1-py3-none-any.whl
```
## 八、将生成的两个文件交给仓库源管理人员上传