繁体   English   中英

如何在 Mac 上使用 Nuitka 从 python 创建“.app”

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

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