[Pythonmac-SIG] Python-Cocoa with XCode 3 - external modules (Cross posting a reply)

Daniel Lord daniellord at mac.com
Wed May 28 05:04:38 CEST 2008


On May 27, 2008, at 14:01 PM, Orestis Markou wrote:

> Hey Steve,
>
>> I hope this is the right place to ask such a question:


FYI,  Bill B replied on the Xcode list with pretty much the same  
advice I gave for those of you who want to know:

---------- Forwarded message ----------
From: Bill Bumgarner <bbum at mac.com>
To: Steve Pike <stringfellow at sucs.org>
Date: Tue, 27 May 2008 13:23:58 -0700
Subject: Re: Python-Cocoa include external modules?
On May 27, 2008, at 11:42 AM, Steve Pike wrote:
Hello all,

I'm building a Python-Cocoa app in XCode 3, and it all works  
wonderfully except that I use the appscript module... And XCode  
doesn't include the module in the build.
So I was wondering if there is a way to make it do so - can it  
incorporate egg files for example?

py2app can handle this automatically, but there are other issues with  
it right now.

If it is just one or two modules, then add a "copy files" build phase  
to your project that copies the module into the appropriate spot  
within your application.

b.bum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20080527/3f5abc48/attachment.htm>


More information about the Pythonmac-SIG mailing list