2010/6/8 Stani <[email protected]>: > On Tue, Jun 8, 2010 at 12:46 PM, Frank Erens <[email protected]> wrote: >> Hi, >> >> A few comments. >> 1) Robin, I think your server is unstable, because I often get "not >> recognised" on the DMG, I need to redownload >> 2) Instead of including Blender in the Phatch.app, I'd rather check if >> Blender is already installed. There's probably a LaunchServices call >> for that. > > Good remark. Thanks for the feedback! That would be the best option. > However we need to go in steps. On Windows we already can use the > installed version of Blender. But for some users it was not working as > the Blender version was incompatible. > > Let's first include Blender. (It is not that big actually.) The Python > version of Blender is quite different between Blender versions. > Moreover Phatch uses Python 2.6, while: > - Blender 2.50 uses Python 3. > - Blender 2.49 uses Python 2.5 > - Blender 2.49b uses Python 2.6 > - ... You can probably put that in a HashMap or similar construct in Python (I don't have any experience with Python, just Java and C++/LibSylph)
> So checking if Blender is installed is not enough, we also need to > check the Python version in Blender. > https://bugs.launchpad.net/bugs/557403 There's very likely a LaunchServices call for getting the version of Blender, you can use the hashmap to get the python version. > Juho wrote already some basic code for this, but it needs more work. > We'll fix this later, but first let's get everything to work. > > My highest priority is to get first a full Phatch working on the Mac > (including Blender) and to do refinements afterwards. Making the Mac > installer is quite a big task for Robin already, so it is better to > keep focus: > 1) make all the plugins work with a Phatch APP dmg (except Inkscape) > 2) make an installer where the user can select plugins Phatch PKG > 3) locate and use already installed plugins (Blender, Inkscape, ...) > 4) discuss different versions Phatch light/basic/full/... > > Best regards, > > Stani > _______________________________________________ Mailing list: https://launchpad.net/~phatch-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~phatch-dev More help : https://help.launchpad.net/ListHelp

