์ค๋ช :
Nuitka๋ Python ์ฝ๋๋ฅผ C/C++ ์ฝ๋๋ก ๋ณํํด ์คํ ๊ฐ๋ฅํ ๋ฐ์ด๋๋ฆฌ ํ์ผ์ ์์ฑํ๋ Python ์ปดํ์ผ๋ฌ์ ๋๋ค. Python ์ธํฐํ๋ฆฌํฐ ๋ฐฉ์์ ํ๊ณ๋ฅผ ๋ณด์ํ๊ณ , ์คํ ์๋๋ฅผ ํฅ์์ํค๋ฉฐ, ์ฝ๋๋ฅผ ์ต์ ํํ๋ ๋ฐ ๋์์ ์ค๋๋ค. ๋ํ, Python ์ฝ๋๋ฅผ ๋ฐฐํฌ ๊ฐ๋ฅํ ํํ๋ก ํจํค์งํ ์ ์์ด ์์ค ์ฝ๋ ๋ณดํธ ๋ฐ ์์กด์ฑ ๊ด๋ฆฌ๋ฅผ ๊ฐํธํ๊ฒ ํ ์ ์์ต๋๋ค.
ํ์ด์ฌ์ ์ธํฐํ๋ฆฌํฐ๋ก ์ฒ๋ฆฌ๋ฅผ ํ๋ค ๋ณด๋ ๋ค๋ฅธ ๋ฐ์ด๋๋ฆฌ ํ์ผ๋ค์ ๋นํด ์๋๋ฉด์์๋ ๋ถ์กฑํ ์ ์๋ค. ์๋๊ฐ ๋ถ์กฑํ๋ฉด ์ฒ๋ฆฌ๋๋ ๋ค๋จ์ด์ง๊ณ ๊ฒฐ๊ตญ ์ฑ๋ฅ์ด ๋ค์ณ์ง๊ฒ ๋๋ค.
์ด๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด Nuitka๋ฅผ ์ฌ์ฉํด ํ์ด์ฌ ํ์ผ์ ์ปดํ์ผํ์ฌ ์คํ ์๋๋ฅผ ํฅ์ ์ํฌ ์ ์๋ค.
๋์ ์ปดํ์ผ ํ๋๋ฐ ์ปดํจํฐ ์ฑ๋ฅ์ ๋ฐ๋ผ์ ์๊ฐ์ด ์ค๋ ์์ํ ์ ์๋ค.
๋ํ .exe ํ์ผ๋ก ๋ณํ์ด ๊ฐ๋ฅํด ํ๋ก๊ทธ๋จ์ ๋ฐฐํฌํ๊ธฐ๋ ์ข๋ค. (ํฌ๋ก์ค ์ปดํ์ผ์ด ๊ฐ๋ฅํด ๋ฆฌ๋ ์ค, ๋งฅ, ์๋์ฐ์์ ์ปดํ์ผ ๊ฐ๋ฅ)
๋ชจ๋ ์ค์น
pip install nuitka
์ปดํ์ผ
nuitka --standalone --onefile app.py
nuitka --standalone --onefile --windows-icon-from-ico=icon.ico --enable-plugin=tk-inter --windows-disable-console app.py
์ฃผ์ ์ฌํญ(ํ๊ธ ๊ฒฝ๋ก ๋ฌธ์ )
๋ง์ฝ ๊ฒฝ๋ก์ ํ๊ตญ์ด๊ฐ ํ์๋ ๊ฒฝ์ฐ ์๋์ ๊ฐ์ด ๊ธ์๊ฐ ๊นจ์ง๊ฒ ๋์ด ์ปดํ์ผ์ด ์ ๋๋ ์ํฉ์ด ์๋ค.
LINK : fatal error LNK1104: 'C:\Users\janger\Desktop\?๋๋ค??1\APP~1.DIS\_nuitka_temp.exe' ํ์ผ์ ์ด ์ ์์ต๋๋ค.
ํด๊ฒฐํ๊ธฐ ์ํด ๊ฒฝ๋ก์ ํ๊ธ์ด ์๋๋ก ํ ๋ค์ ๋ค์ ์ปดํ์ผ์ ์งํํ๋ค.
์ถ์ฒ ๋ฐ ์ฐธ๊ณ :
Nuitka: ์คํ ๊ฐ๋ฅํ ๋ฐ์ด๋๋ฆฌ ํ์ผ ์์ฑ์ ์ํ Python ์ปดํ์ผ๋ฌ
 Nuitka๋ Python ์ฝ๋๋ฅผ C/C++ ์ฝ๋๋ก ๋ณํํด ์คํ …
wikidocs.net
https://nuitka.net/user-documentation/user-manual.html
Nuitka User Manual — Nuitka the Python Compiler
For analysis of your program and Nuitka packaging, the Compilation Report is available. You can also make custom reports by providing your template or using one built-in to Nuitka. These reports carry all the detailed information; for example, when a modul
nuitka.net