Re: [Pyobjc-dev] Distribution Cocoa/Python Applications
Brought to you by:
ronaldoussoren
From: Alexander M. <ale...@gm...> - 2009-08-11 13:48:13
|
Thanks for you answer. Do you have documentation about the first method? I'm new in PyObjC/ Cocoa development! Thank a lot! Marco Il giorno 11/ago/09, alle ore 15:43, Ronald Oussoren ha scritto: > > 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 |