I have Debian / Ubuntu / Xubuntu. I'm trying to distribute and run a Python file with the least number of clicks for the end user. How do I create a PKG file for Mac OS X on Linux?
Sorry - it will not work.
Linux may create Solaris and BSD pkg files which are tarballs with some metadata, which will lead all your searches to a complete no-go.
Some multiplatform installers I know of are :
IzPack is a an open source software installer generator. As it uses Java you need the JRE on the target platform.
The free InstallJammer is :
You could contact the developer, as he is very responsive.
InstallAnywhere is a commercial multiplatform installer. Its Standard Edition is priced at $1,999.
JExpress is another one at only $849.
The only one from the above that I have used is InstallJammer, which I really recommend. If OS X is already available in beta, don't hesitate to try it, as the developer corrects bugs at a very fast pace.
I think I may have ended up using a rar or a zip file, which has contents that can be ran somewhat like a DMG can be. Would this meet your goal? It was close enough to my original problem that led me to ask my question.