quantitative_factor_evaluation/build.bat

19 lines
417 B
Batchfile
Raw Permalink Normal View History

2025-11-17 13:32:48 +08:00
cd venv/Scripts
call activate
cd ../../
IF EXIST "dist" (
echo "Directory exist."
) else (
md dist
echo "Directory exist created"
)
copy main_pro.py .\dist\
copy config.toml .\dist\config.toml
call nuitka --mingw64 --show-progress --product-version=1.0.0 --standalone --output-dir=dist --onefile --windows-icon-from-ico=icon.ico --remove-output --output-filename=start.exe main_pro.py
pause