更新fastapi_example打包命令

This commit is contained in:
evilbeast
2022-09-07 12:51:27 +08:00
parent da213b01af
commit b09ce23997
+5
View File
@@ -90,3 +90,8 @@ pyinstaller -F --collect-data=ntchat main.py
```bash
pyinstaller -y --collect-data=ntchat main.py
```
打包fastapi_example示例,需要添加`--paths=. --collect-data=ntchat`
```bash
pyinstaller -F --paths=. --collect-data=ntchat main.py
```