νμ΄μ¬ - μΈν°ν리ν°μμ μ»΄νμΌλ‘ μλ μ±λ₯ ν₯μ(Nuitka)
μ€λͺ :
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