-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_exe.bat
More file actions
22 lines (19 loc) · 749 Bytes
/
Copy pathbuild_exe.bat
File metadata and controls
22 lines (19 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
REM ============================================================
REM MACHINOVA - Bagimsiz .exe derleme betigi (PyInstaller)
REM TUSAS Lift Up Bitirme Projesi
REM ============================================================
cd /d "%~dp0"
echo MACHINOVA.exe derleniyor... (birkac dakika surebilir)
echo.
pip install pyinstaller
pyinstaller --noconfirm --onefile --windowed --name MACHINOVA --collect-all customtkinter --collect-submodules sklearn --add-data "model;model" app.py
echo.
if exist "dist\MACHINOVA.exe" (
copy /Y "dist\MACHINOVA.exe" "MACHINOVA.exe"
echo TAMAMLANDI. Cikti: MACHINOVA.exe ^(ayrica dist\MACHINOVA.exe^)
) else (
echo HATA: Derleme basarisiz oldu. Yukaridaki ciktilari kontrol edin.
)
echo.
pause