Re: [Pyobjc-dev] Moving from XCode to py2app: xib trouble
Brought to you by:
ronaldoussoren
|
From: Ronald O. <ron...@ma...> - 2008-05-19 06:13:57
|
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 |