[Distutils] ANN: py2app 0.1.7 (original) (raw)
Bob Ippolito bob at redivi.com
Fri Dec 31 05:03:16 CET 2004
- Previous message: [Distutils] Results of your commands
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This announcement is available in HTML at: http://bob.pythonmac.org/archives/2004/12/30/ann-py2app-017/
py2app_ is the bundlebuilder replacement we've all been waiting for.
It is implemented as a distutils command, similar to py2exe_, that
builds Mac OS X applications from Python scripts, extensions, and
related data files. It tries very hard to include all dependencies it
can find so that your application can be distributed standalone, as Mac
OS X applications should be.
py2app_ 0.1.7 is included in the installer for PyObjC_ 1.2. If you
have
installed PyObjC_ 1.2, then you already have py2app_ 0.1.7
installed.
Download and related links are here: http://undefined.org/python/#py2app
py2app_ 0.1.7 is a bug fix release:
- The
bdist_mpkgscript will now set up sys.path properly, for setup scripts that require local imports. bdist_mpkgwill now correctly acceptReadMe,License,Welcome, andbackgroundfiles by parameter.bdist_mpkgcan now display a custom background again (0.1.6 broke this).bdist_mpkgnow accepts abuild-base=argument, to put build files in an alternate location.py2appwill now accept main scripts with a.pywextension.py2app's not_stdlib_filter will now ignore asite-pythondirectory as well assite-packages.py2app's plugin bundle template no longer displays GUI dialogs by default, but still links toAppKit.py2appnow ensures that the directory of the main script is now added tosys.pathwhen scanning modules.- The
py2appbuild command has been refactored such that it would be easier to change its behavior by subclassing. py2appalias bundles can now cope with editors that do atomic saves (write new file, swap names with existing file).macholibnow has minimal support for fat binaries. It still assumes big endian and will not make any changes to a little endian header.- Add a warning message when using the
installcommand rather than installing from a package. - New
simple/structuredexample that shows how you could package an application that is organized into several folders. - New
PyObjC/pbpluginXcode Plug-In example.
Since I have been slacking and the last announcement was for 0.1.4, here are the changes for the soft-launched releases 0.1.5 and 0.1.6:
py2app_ 0.1.6 was a major feature enhancements release:
py2appletandbdist_mpkgscripts have been moved to Python modules so that the functionality can be shared with the tools.- Generic graph-related functionality from
py2appwas moved toaltgraph.ObjectGraphandaltgraph.GraphUtil. bdist_mpkgnow outputs more specific plist requirements (for future compatibility).py2appcan now create plugin bundles (MH_BUNDLE) as well as executables.- New recipe for supporting extensions built with
sip, such asPyQt. Note that due to the way thatsip_ works, when one sip-based extension is used, all sip-based extensions are included in your application. In practice, this means anything provided byRiverbank, I don't think anyone else usessip(publicly). - New recipe for
PyOpenGL_. This is very naive and simply includes the whole thing, rather than trying to monkeypatch their brain-dead version acquisition routine in__init__. - Bootstrap now sets
ARGVZEROandEXECUTABLEPATHenvironment variables, corresponding to theargv[0]and the_NSGetExecutablePath(...)that the bundle saw. This is only really useful if you need to relaunch your own application. - More correct
dyldsearch behavior. - Refactored
macholibto usealtgraph, can now generateGraphViz_ graphs and more complex analysis of dependencies can be done. macholibwas refactored to be easier to maintain, and the structure handling has been optimized a bit.- The few tests that there are were refactored in
py.test_ style. - New
PyQt_ example. - New
PyOpenGL_ example.
py2app_ 0.1.5 was a major feature enhancements release:
Added a
bdist_mpkgdistutils extension, for creating Installer an metapackage from any distutils script.- Includes PackageInstaller tool
- bdist_mpkg script
- setup.py enhancements to support bdist_mpkg functionality
Added a
PackageInstallertool, a droplet that performs the same function as thebdist_mpkgscript.Create a custom
bdist_mpkgsubclass forpy2app_'s setup script.Source package now includes
PJE'ssetuptoolsextension to distutils.Added lots of metadata to the setup script.
py2app.modulegraphis now a top-level package,modulegraph.py2app.find_modulesis nowmodulegraph.find_modules.Should now correctly handle paths (and application names) with unicode characters in them.
New
--stripoption forpy2appbuild command, strips all Mach-O files in output application bundle.New
--bdist-base=option forpy2appbuild command, allows an alternate build directory to be specified.New
docutils_ recipe.Support for non-framework Python, such as the one provided by
DarwinPorts_.
.. _py.test: http://codespeak.net/py/current/doc/test.html
.. _GraphViz: http://www.pixelglow.com/graphviz/
.. _PyOpenGL: http://pyopengl.sf.net/
.. _Riverbank: http://www.riverbankcomputing.co.uk/
.. _sip: http://www.riverbankcomputing.co.uk/sip/index.php
.. _PyQt: http://www.riverbankcomputing.co.uk/pyqt/index.php
.. _DarwinPorts: http://darwinports.opendarwin.org/
.. _docutils: http://docutils.sf.net/
.. _setuptools: http://cvs.eby-sarna.com/PEAK/setuptools/
.. _PJE: http://dirtSimple.org/
.. _py2app: http://undefined.org/python/#py2app
.. _py2exe: http://starship.python.net/crew/theller/py2exe/
.. _PyObjC: http://pyobjc.sf.net/
- Previous message: [Distutils] Results of your commands
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]