[英]How to create an ".app" from python with Nuitka on Mac
第一次在 macOS (10.14) 上嘗試 Nuitka。
我做了python3 -m nuitka --standalone hello.py
(也試過--clang
)
結果是一個奇怪的hello.dist
文件夾——它甚至不會作為文件夾出現在 Finder 中——它包含一堆.so
文件、 Python
和我的可執行文件hello
。
我認為它會創建一個.app
包? 還有一步嗎?
(我也試過https://sveinbjorn.org/platypus但這並沒有真正編譯 python。)
嘗試:
python3 -m nuitka --standalone --macos-create-app-bundle hello.py
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.