Re: Integrating py2app with Xcode

Ronald Oussoren <[email protected]> Mon, 14 Jan 2013 14:38:37 +0100
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
On 13 Jan, 2013, at 0:13, Frank Illenberger <[email protected]> wrote:

> Hi folks,
> 
> I always have been using py2app directly from the command line for building plugin bundles which get loaded into Cocoa apps. Does anybody know if it is possible to integrate this manual process into Xcode so that I can use it as an IDE for the development of these plugins? I know the Xcode target template for external build systems, but with it I would still have to edit the data_files entries in the setup.py file myself. 
> Thanks for any hints.

The external build system option would be the best option for now.  

The pyobjc repository contains some xcode templates (at <https://bitbucket.org/ronaldoussoren/pyobjc/src/be79abf0d8ae649292f66cdae40f67b2b6bb89f5/pyobjc-xcode?at=default>), but those haven't been updated for a while and don't use py2app. 

In the longer run I'd like to create Xcode templates that use py2app, and extend py2app to either optionally read some information from the Xcode project file, or run in a mode where Xcode controls the build and py2app "just" adds the files needed to make the build a standalone build (that is, copy dependencies into the bundle).   I don't know when I'll get around to doing that though.

Ronald


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412