Thanks for the tips!

On Mar 6, 2006, at 9:52 AM, Dethe Elza wrote:

> Using XCode isn't really the best way to create PyObjC apps.  The
> recommended way is to use InterfaceBuilder to create your UI,
> implement it with PyObjC, and use py2app to build the application from
> there.
>
> Check out the tutorial on the PyObjC site, and the docs for py2app.
>
> PyObjC tutorial: http://pyobjc.sourceforge.net/doc/tutorial.php
> Py2app documentation: http://undefined.org/python/py2app.html
>
> It sounds like you already have the nib and code, so that should work
> for you.  If you have the nib, but no code yet, there is a script
> which will generate a python files with stubs built from your nib to
> get you started.  Using the nibclassbuilder script is demonstrated in
> the tutorial.
>
> I hope that helps to get you started.  Come back with any further
> questions you have.
>
> --Dethe
>
> On 3/6/06, Scott Frankel <[EMAIL PROTECTED]> wrote:
>>
>> Following the simple example app that Apple provides for PyObjC has
>> lead me to a number of questions ... and a failed build.  The example
>> demonstrates using Xcode & InterfaceBuilder to build a simple app,
>> PyAverager.  My attempts at a build yield "Build failed for target
>> "Development" errors in Xcode and nothing launchable from py2applet.
>> There were no instructions on how to configure a target in the Apple
>> doco.
>>
>> Questions:
>>
>> Does the target need to be more fully specified in Xcode (beyond what
>> the PyObjC template provides), if so how?
>>
>> Does the target need to be specified somehow in the py2app(let) step?
>>
>> Is Xcode really necessary or advantageous for building PyObjC apps?
>>
>> Can Interface Builder NIB files be used with py2app(let)?  If so, how
>> are they specified on the cmd-line?  (i.e.: declared as the Foo.nib
>> parent directory, or as each of the nib files contained in Foo.nib:
>> classes.nib, info.nib, &c.)?
>>
>> Feeling a little at sea; thanks in advance for a point in the right
>> direction.
>> Scott
>>
>>
>> Xcode 2.1
>> Python 2.4.1
>> OSX 10.4.5
>>
>>
>>
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to