hytos / build.bat @ 8481e6be
이력 | 보기 | 이력해설 | 다운로드 (1017 Bytes)
1 |
SET yyyymmdd=%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2% |
---|---|
2 |
SET hhmmss=%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2% |
3 |
SET hhmmss=%hhmmss: =0% |
4 |
|
5 |
REM SET PYINSTALLER="C:\Users\humkyung.DOFTECH0\AppData\Local\Programs\Python\Python37\Scripts\pyinstaller.exe" |
6 |
REM SET PYQT5="C:\Users\humkyung.DOFTECH0\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyQt5" |
7 |
REM SET CANDLE="C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe" |
8 |
REM SET LIGHT="C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe" |
9 |
REM SET SIGNTOOLPATH="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" |
10 |
REM SET SIGNPATH="c:\cert\www.doftech.co.kr.pfx" |
11 |
|
12 |
%VIRTUALENV_38X64% %WORKSPACE%\.venv |
13 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
14 |
|
15 |
%WORKSPACE%\.venv\scripts\activate.bat & pip install -r .\DTI_PID\DTI_PID\requirements.txt & pyinstaller App.spec --onedir -p PyQt5 -w --log-level=DEBUG --hidden-import=tkinter,pyqtgraph,getmac,pkg_resources.py2_warn -y & deactivate |
16 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
17 |
|
18 |
:EOF |
19 |
ECHO process completed |
20 |
exit |
21 |
|
22 |
:ERROR |
23 |
exit 1 |