[英]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.