Re: [Pyobjc-dev] Standalone exe on panther?
Brought to you by:
ronaldoussoren
From: Jiva D. <ji...@de...> - 2003-12-05 18:51:17
|
I'm documenting this here in the hopes of saving some other clueless soul from similar troubles. So, to build a stand-alone PyObjC application do the following: 1. Change your Build style to deployment. In XCode this is done by going into the properties of your project and, to the styles tab, and choosing deployment. 2. If you originally created your application from the PyObjC template, inside the frameworks and modules folder in your project, you will find the PyObjC folder. You need to add _Foundation.so to this folder. This file can be found in /Library/Python/2.3/PyObjC. 3. Finally, under your target you'll find a "Copy Files" step. Inside there are the same files that were in the PyObjC folder in your frameworks above. Drag-N-Drop the _Foundation.so from there to this folder as well. This should enable you to build an application which will run at the very least on other panther machines. It might run on Jaguar, I don't know for sure. There may be an easier way to do this, if you know of an easier way, then please let me know. The size of all this isn't too bad either. What's a few extra megs between friends? I have also put this up on my blog, http://www.devoesquared.com/Blog for anyone who wants to track it for changes. If this is in an FAQ somewhere, someone please point me to it. If it's not, well it should be. ;) On Dec 2, 2003, at 11:32 PM, Jiva DeVoe wrote: > Anyone have a link to instructions on how to make a standalone pyobjc > exe for panther? One that can be loaded on a stock panther machine > without preloading pyobjc? I tried just building one from the xcode > template, and it didn't seem to work. > > TIA. > > -- > Jiva DeVoe > jiva at devoesquared.com > http://www.devoesquared.com -- Jiva DeVoe jiva at devoesquared.com http://www.devoesquared.com |