script fixes

This commit is contained in:
Alex Bezdieniezhnykh
2025-04-14 17:25:54 +03:00
parent 73f0e10ca8
commit dd42292eee
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
<MakeDir Directories="$(TargetDir)dummy" /> <MakeDir Directories="$(TargetDir)dummy" />
<Move SourceFiles="$(TargetDir)Azaion.Annotator.dll" DestinationFolder="$(TargetDir)dummy" /> <Move SourceFiles="$(TargetDir)Azaion.Annotator.dll" DestinationFolder="$(TargetDir)dummy" />
<Move SourceFiles="$(TargetDir)Azaion.Dataset.dll" DestinationFolder="$(TargetDir)dummy" /> <Move SourceFiles="$(TargetDir)Azaion.Dataset.dll" DestinationFolder="$(TargetDir)dummy" />
<Exec Command="upload.cmd $(ConfigurationName) stage" /> <Exec Command="postbuild.cmd $(ConfigurationName) stage" />
</Target> </Target>
</Project> </Project>
+10 -3
View File
@@ -5,7 +5,7 @@ echo Build .net app
dotnet build -c Release dotnet build -c Release
cd Azaion.Suite cd Azaion.Suite
call upload Release call postbuild.cmd Release
echo %cd% echo %cd%
call upload-file %cd%\config.secured.json call upload-file %cd%\config.secured.json
call upload-file %cd%\config.system.json call upload-file %cd%\config.system.json
@@ -23,9 +23,16 @@ move dist\Azaion.Dataset.dll dist\dummy\
echo Build Cython app echo Build Cython app
cd Azaion.Inference cd Azaion.Inference
echo remove dist folder:
rmdir dist /s /q rmdir dist /s /q
.\venv\Scripts\pyinstaller --name=azaion-inference ^ echo install python and dependencies
python -m venv venv
venv\Scripts\pip install -r requirements.txt
venv\Scripts\python setup.py build_ext --inplace
echo install azaion-inference
venv\Scripts\pyinstaller --name=azaion-inference ^
--collect-all jwt ^ --collect-all jwt ^
--collect-all requests ^ --collect-all requests ^
--collect-all psutil ^ --collect-all psutil ^
@@ -83,7 +90,7 @@ del dist\cudnn_adv64_9.dll
set DESTINATION=dist\gps-denied\ set DESTINATION=dist\gps-denied\
rd /S /Q %DESTINATION% rd /S /Q %DESTINATION%
mkdir -p %DESTINATION% mkdir %DESTINATION%
copy ..\gps-denied\image-matcher\build\Desktop_Qt_6_9_0_MSVC2022_64bit-Release\release\image-matcher.exe %DESTINATION% copy ..\gps-denied\image-matcher\build\Desktop_Qt_6_9_0_MSVC2022_64bit-Release\release\image-matcher.exe %DESTINATION%
copy ..\gps-denied\.libs\libzmq\build\dist\bin\libzmq-v143-mt-4_3_6.dll %DESTINATION% copy ..\gps-denied\.libs\libzmq\build\dist\bin\libzmq-v143-mt-4_3_6.dll %DESTINATION%