Re: [Pyobjc-dev] Moving from XCode to py2app: xib trouble
Brought to you by:
ronaldoussoren
|
From: Orestis M. <or...@or...> - 2008-05-20 19:10:28
|
Isn't it perhaps better to have py2app invoke ibtool (as proposed by Nicholas Riley), or do we not want to introduce a dependency to the Developer Tools ? (I'm not sure if that's the case already). -- Orestis Markou or...@or... http://orestis.gr/ On 19 Μαϊ 2008, at 7:13 ΠΜ, Ronald Oussoren wrote: > > On 18 May, 2008, at 18:46, Orestis Markou wrote: > >> So, I've created a project under Xcode, and I'm trying to make it >> work >> using py2app. >> >> I've moved over all the Python files (including main.m and main.py) >> and English.lproj, translated the plist to a python dict (this could >> be easily automated), py2app happilly generates the bundle but the >> application dies because it can't find the MainMenu nib file. >> >> After some investigation, I've learned that nib files are now >> actually >> compiled from xib files, which doesn't happen when I use py2app. >> >> What step am I missing? > > Someone will have to teach py2app to compile .xib files. There's > already code that deals with datamodels for CoreData, enhancing that > to deal with .xib files should be fairly easy. The complicating > factor is that datamodels are explicitly mentioned in the setup.py > file, while nib files are usually copied as resource files. > > I'll get around to that some time, although it is unlikely that that > will happen before WWDC. > > Ronald > |