pyinstaller --onefile --noconsole (๊ฒฝ๋ก ํฌํจ)ํ์ผ๋ช .py
--onefile : .exe ํ์ผ์ ํ๋๋ก ๋ฌถ์ด์ฃผ๋ ์ต (๋ฌด์ค์น, ํฌํฐ๋ธํ)
-- noconsole : ํ๋ก๊ทธ๋จ ์คํ์ ์ฝ์์ฐฝ ์์ด ์คํ.
--icon="\๊ฒฝ๋ก\๊ฒฝ๋ก\xxx.ico"
dist ํด๋์ ์์ฑ๋๊ฑธ ํ์ธ ํ ์ ์์.
pyinstaller --onefile --noconsole --icon="D:\00. Project\20. JIG\TEMP_VALUE_MONITOR_SW\fs_icon.ico" "D:\00. Project\20. JIG\TEMP_VALUE_MONITOR_SW\xxGUI.py"
ํ์ผ ์์ฑ ํ .py ํ์ผ๋ช ๊ณผ ๋ค๋ฅด๊ฒ ํด์ผ ์์ด์ฝ์ด ์ ์ฉ๋๋๊ฑธ ๋ณผ ์ ์์.
-w : ์ฝ์์ฐฝ ์๋ณด์ด๊ฒ
-F : exe ๋จ์ผ ํ์ผ๋ก ์์ฑ
-n : ํ์ผ๋ช ์ง์
--icon : ์์ด์ฝ ์ง์
--add-data : ์ด๊ฑธ๋ก ํ๋น์ฝ ์ง์
pyinstaller -w -F -n OSC_CONTROLLER --icon="img/fs_icon.ico" --add-data="img/*;img" oscilloscopeHandler.py




์ต๊ทผ๋๊ธ