Re: [Pyobjc-dev] Distribution Cocoa/Python Applications
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2009-08-11 14:43:49
|
On 11 Aug, 2009, at 14:41, Alexander Mail wrote: > Hi, > I build a simple project to manage all my Application's Serials. I > write it in Xcode 3.1.3 > with Python(PyObjC) and pysqlite2. > But I have this problem. If I run my application on my develop > system, all run perfectly. > But if I run my application on a new OS, (the same OS 10.5), but > without Xcode, my > application does not work. > I tried to implement in my application pysqlite2, but I have the > same result. > So what i need to do for distributing my pyobjc application? You need to add "logic" to your Xcode project that will copy all required Python files into the application bundle, such as by using an shell-script phase. An alternative is to use py2app to automaticly copy the required files, but that doesn't play nice with Xcode at the moment. Ronald |