mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:56:31 +00:00
add build cdn_manager in publish.cmd
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
python -m venv venv
|
||||||
|
venv\Scripts\pip install -r requirements.txt
|
||||||
|
venv\Scripts\pyinstaller --onefile --collect-all boto3 cdn_manager.py
|
||||||
|
move dist\cdn_manager.exe .\cdn_manager.exe
|
||||||
|
rmdir /s /q dist
|
||||||
|
rmdir /s /q build
|
||||||
|
|
||||||
@@ -71,8 +71,12 @@ copy venv\Lib\site-packages\tensorrt_libs\nvonnxparser_10.dll ..\dist
|
|||||||
copy config.production.yaml ..\dist\config.yaml
|
copy config.production.yaml ..\dist\config.yaml
|
||||||
cd..
|
cd..
|
||||||
|
|
||||||
|
|
||||||
echo Download onnx model
|
echo Download onnx model
|
||||||
cd build
|
cd build
|
||||||
|
echo Install cdn_manager
|
||||||
|
call build_cdn_manager
|
||||||
|
|
||||||
call cdn_manager.exe download models
|
call cdn_manager.exe download models
|
||||||
move models ..\dist\
|
move models ..\dist\
|
||||||
cd..
|
cd..
|
||||||
|
|||||||
Reference in New Issue
Block a user