py2app is a Python setuptools command which will allow you to make standalone application bundles and plugins from Python scripts. py2app is similar in purpose and design to py2exe for Windows.
Latest Version 0.5.3
Installation(py2app version 0.5 2010-07-28 Ronald Oussuroren)
"easy_install-X.Y -U py2app" should install the software, where X.Y is your favorite version of Python.
There is one new feature in this release: experimental support for python 3. This basicly means that I managed to build a single application as a standalone application bundle, without much testing. Alias builds and plugin bundles almost certainly don't work (the first because alias builds use the Carbon module which isn't available in python 3, the latter because I had to rewrite the C code in the application bundles and probably have to do the same for plugin bundles).
NotesExecute a bundled app from the commandline to see error messages:
Current repository:
modulegraph: http://bitbucket.org/ronaldoussoren/modulegraph
Old subversion:
http://svn.pythonmac.org/modulegraph/modulegraph/trunk checkout and install. install with "python setup.py install" or let easy_install do it for you.
ATTENTION some things are in /Library/Python and some things in /Library/Frameworks/Python.framework/ and there is /usr/lib/python too.
Original version:
source http://undefined.org/python (points to repository)
documentation http://undefined.org/python/py2app.html (might be old)
is some workaround http://hg.hardcoded.net/py2app,
is it really necessary to run 'python setup.py py2app' with sudo ?
it writes into /Library ?
and there still is an error that ::
is missing. There is only ::
linking main-fat3 to main-i386 ::
makes the build succeed, when using sudo ::
but the app crashes ::
File "MySQLdb/init.pyc", line 19, in <module> File "_mysql.pyc", line 18, in <module> File "_mysql.pyc", line 15, in load ImportError: '/usr/lib/python2.6/lib-dynload/_mysql.so' not found
_so is in the app, but not in the system (i like to keep things local)
copying _mysql.so into /usr/lib/python2.6/lib-dynload, cured this.
Then it works.
Development Python Versionsmodulegraph/util.py requires python>=2.6 for immutable bytes by 'b"something"'.
Testingpy.test is used for testing. modulegraph/util.py contains tests in util.py. maybe revert to unittest.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4