简体   繁体   中英

How to create an ".app" from python with Nuitka on Mac

First time trying Nuitka, on macOS (10.14).

I did python3 -m nuitka --standalone hello.py (also tried with --clang )

The result is a weird hello.dist folder – which doesn't even appear as a folder in Finder – which contains a bunch of .so files, Python and my executable hello .

I thought it would create an .app bundle? Is there another step?

(I also tried https://sveinbjorn.org/platypus but that doesn't really compile the python.)

Try:

python3 -m nuitka --standalone --macos-create-app-bundle hello.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM