简体   繁体   English

如何在Python中为OSX平台创建内置发行版?

[英]How do I create a built distribution for the OSX platform in Python?

I have a package of pure python modules that I'd like to create a nice bdist for for my Apple users (I'm running Windows 7 on a AMD64-PC). 我有一个纯Python模块包,我想为我的Apple用户创建一个不错的bdist(我在AMD64-PC上运行Windows 7)。

Do I just run the RPM installer in distutils? 我是否仅在distutils中运行RPM安装程序?

Is there an alternative to distutils that creates "platform agnostic" installers (ie, it installs source code and then compiles to bytecode using hosts interpreter). 有没有distutils的替代方法,它可以创建“平台不可知”的安装程序(即先安装源代码,然后使用主机解释器编译为字节码)。

Ok...feel kinda dumb, but I found what I think is the answer: 好的...有点傻,但是我找到了答案:

https://pypi.python.org/pypi/bdist_mpkg/ https://pypi.python.org/pypi/bdist_mpkg/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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