From: Andre Garzia <soapdog@ma...> - 2003-01-28 00:21:57
is there any good literature on deployng stand alone pyObjC apps? i=20
want to distribute a double-clickable package so that the end user
needs not to know how to deal with frameworks and stuff...
Andre Alves Garzia =EF=A3=BF 2002 =EF=A3=BF BRAZIL
On Tuesday, Jan 28, 2003, at 07:16 US/Eastern, Andre Garzia wrote:
> Hi folks,
> is there any good literature on deployng stand alone pyObjC apps? i
> want to distribute a double-clickable package so that the end user
> needs not to know how to deal with frameworks and stuff...
Yes, we need to write documentation. :-)
However, for Cocoa-Python applications, building a standalone
application that includes everything such that it will run on any OS X
10.2 or greater system is trivial.
The Project Builder templates all create projects that do exactly that
when you build the 'install' target. Currently, this has to be done
from the command line [do to a limitation in pbxbuild/PB, not PyObjC]:
% cd <<path to your project>>
% pbxbuild install
% open /tmp/ProjectName.dst/
(Resulting .app will show up in /tmp/ProjectName.dst/...)
PyObjC 0.8 shipped with a single template; Cocoa-Python Application.
It can be used to build pure Python Cocoa applications. An example:
I recently released a simple application that converts OmniWeb
bookmarks to Safari called OW2Safari.app. It is a pure Python Cocoa
application that was created with the Cocoa-Python Application project
There are now two more templates in the CVS repository. The
Cocoa-Python Document-based Application template is analogous to the
Cocoa Document-based Application template. Also included is a
Cocoa-Python-ObjC Application template that includes an embedded
framework into which any compiled code can be integrated.
You can grab the other two templates from the PyObjC CVS repository.
Get latest updates about Open Source Projects, Conferences and News.