Hi all,
I've built some scientific command-line tools in Python that I'd like
to be able to distribute to colleagues. This is dead-simple on Windows
-- I use py2exe to make a console application exe (or several), put it/
them on the PATH, and things are good-to-go.
However, from googling, it doesn't appear so easy on OS X (which is
what I've been developing on). Py2app seems optimized for creating OS
X GUI "app" bundles, not command-line programs. (See this email and
replies: http://mail.python.org/pipermail/pythonmac-sig/2006-January/015673.html
.)
Ideally, I'd want this to work regardless of what the user has on
their computer -- so I don't just want to make an mpkg that blindly
installs a python and other module dependencies (e.g. numpy), because
I wouldn't want to clobber previous installs. And I don't want to
burden the users with some lengthy set of instructions about what to
download depending on what version of what else they have... (e.g.
what if they have and depend on numpy 1.0.6 and I require 1.1?)
I'd just love a self-contained directory that contains the python
"runtime" and all dependencies in a that I could distribute in a
portable fashion. Is this possible to get on OS X in any fashion? Can
I somehow grab the parts I need from a py2app bundle and just
distribute that?
Thanks,
Zach Pincus
Molecular, Cellular and Developmental Biology
Yale University
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig