개정판 fa3997aa
Modified build.bat for virtualenv
Change-Id: Ibe5be7823a3b12162580d2a13051c83878d70b03
build.bat | ||
---|---|---|
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 |
SET CANDLE="C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe" |
|
6 |
SET LIGHT="C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe" |
|
7 |
SET SIGNTOOLPATH="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" |
|
8 |
SET SIGNPATH="c:\cert\www.doftech.co.kr.pfx" |
|
9 |
|
|
10 |
pyinstaller App.spec --onedir -p "C:\Users\kyj\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\PyQt5" -w --log-level=DEBUG --hidden-import=tkinter -y |
|
11 |
:pyinstaller App.spec --onedir -p "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\site-packages\PyQt5" -w --log-level=DEBUG --hidden-import=tkinter,pyqtgraph -y |
|
1 |
.venv\scripts\activate.bat & pip install -r .\requirements.txt & pyinstaller .\App.spec --onedir -p ".venv\Lib\site-packages\PyQt5" -w --log-level=DEBUG -y & deactivate.bat |
|
12 | 2 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
13 | 3 |
|
14 | 4 |
:EOF |
내보내기 Unified diff