Re: [Pyobjc-dev] placing a module inside of an xcode project
Brought to you by:
ronaldoussoren
|
From: Matthew A. <man...@gm...> - 2009-02-21 17:40:01
|
I hadn't yet even noticed how using folder references prevented you from adding and deleting their contents until you said it. XCode drives me insane for actually editing the text of a python program though, so I've been using TextMate as external editor 99% of the time anyway. The biggest (but not only) issue is that I really want to see visible (but close in color to the background, so not to be distracting) glyphs for newline and tab characters when I write python code, and the XCode editor doesn't seem to do that very well. The XCode "read-only" problem isn't one in TextMate. XCode is probably a better editor for Objective-C than it is for Python. Too bad about the lack of dependency magic in the XCode templates, but good to know that's how it is. Thanks! Matt On Sat, Feb 21, 2009 at 10:54 AM, Petr Mifek <pet...@an...> wrote: > Hi Mathew, > > I knew about the folder references, but that is no good for my use, because > a Folder reference is "read only" from within the XCode environment. That > is, I can't easily add or delete files it that folder(s) from within the > XCode. So I still have to go with setting it up one-by-one. It is not that > big issue, though I have a feeling that time will come when it'll be (that > time I'll be forced to leave the XCode and handle that myself ;) ). > > The XCode/Xcode's PyObjc templates won't do this for you. That means, you > must locate all your dependencies by yourself and ensure they are located > under the Resources folder in you app bundle (that is the "standard" way to > handle that, there are others though, like listing prerequisites in a README > ;) ). The py2app goes to some great extent to locate dependencies for your > code and include them in the final bundle - but that is not used during the > standard XCode3.x-templates-based application. > > > Cheers, Petr |