Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Lukáš 'Spike' Polívka
On Sun, Mar 9, 2008 at 2:48 AM, Nathan <[EMAIL PROTECTED]> wrote: > On Fri, Mar 7, 2008 at 10:03 PM, Lukáš 'Spike' Polívka > > <[EMAIL PROTECTED]> wrote: > > > No luck, for some reason. What path do you suggest I should put there, > > if QtCore.so is placed in > > Jabbim.app/Contents/Resources

Re: [Pythonmac-SIG] py2app and matplotlib

2008-03-27 Thread Ronald Oussoren
On 27 Mar, 2008, at 1:18, Christopher Barker wrote: ... self.load(fh) File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 178, in load raise ValueError("Unknown load command: %d" % (cmd_load.cmd,)) ValueError: Unknown load command: 27 > /Users/cbarker/HAZMAT/SmallToolsSVN/ph

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Ronald Oussoren
On 27 Mar, 2008, at 9:01, Lukáš 'Spike' Polívka wrote: On Sun, Mar 9, 2008 at 2:48 AM, Nathan <[EMAIL PROTECTED]> wrote: On Fri, Mar 7, 2008 at 10:03 PM, Lukáš 'Spike' Polívka <[EMAIL PROTECTED]> wrote: No luck, for some reason. What path do you suggest I should put there, if QtCore.so is

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Lukáš 'Spike' Polívka
On Thu, Mar 27, 2008 at 9:29 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 27 Mar, 2008, at 9:01, Lukáš 'Spike' Polívka wrote: > > On Sun, Mar 9, 2008 at 2:48 AM, Nathan <[EMAIL PROTECTED]> > > wrote: > >> On Fri, Mar 7, 2008 at 10:03 PM, Lukáš 'Spike' Polívka > >> > >> <[EMAIL PROTEC

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Ronald Oussoren
On 27 Mar, 2008, at 9:29, Ronald Oussoren wrote: So, in the end, Nathan was right. The following helped me: sys.path.insert(0, '../Resources/lib/python2.5/site-packages.zip') # for Twisted sys.path.insert(0, '../Resources/lib/python2.5/lib-dynload') # for PyQt4 That might help you, bu

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Lukáš 'Spike' Polívka
On Thu, Mar 27, 2008 at 9:43 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > > > On 27 Mar, 2008, at 9:29, Ronald Oussoren wrote: > >>> > >> So, in the end, Nathan was right. The following helped me: > >> > >> sys.path.insert(0, '../Resources/lib/python2.5/site-packages.zip') > >> # for Tw

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Lukáš 'Spike' Polívka
On Thu, Mar 27, 2008 at 9:45 AM, Lukáš 'Spike' Polívka <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 27, 2008 at 9:43 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > > > > > > > On 27 Mar, 2008, at 9:29, Ronald Oussoren wrote: > > >>> > > >> So, in the end, Nathan was right. The following

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Ronald Oussoren
On 27 Mar, 2008, at 10:09, Lukáš 'Spike' Polívka wrote: On Thu, Mar 27, 2008 at 9:55 AM, Lukáš 'Spike' Polívka <[EMAIL PROTECTED]> wrote: On Thu, Mar 27, 2008 at 9:45 AM, Lukáš 'Spike' Polívka <[EMAIL PROTECTED]> wrote: On Thu, Mar 27, 2008 at 9:43 AM, Ronald Oussoren <[EMAIL PROTECTED]

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Lukáš 'Spike' Polívka
On Thu, Mar 27, 2008 at 9:55 AM, Lukáš 'Spike' Polívka <[EMAIL PROTECTED]> wrote: > On Thu, Mar 27, 2008 at 9:45 AM, Lukáš 'Spike' Polívka > > <[EMAIL PROTECTED]> wrote: > > > > > > On Thu, Mar 27, 2008 at 9:43 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > On 27 M

[Pythonmac-SIG] Using scripting bridge

2008-03-27 Thread Jan Erik Moström
I'm doing my first attempts in trying to use the scripting bridge and I'm not very successful. I probably doesn't understand how to do things at all and unfortunately I can't find any docs on how to do things. What I want to do is basically to do some data processing using python and then cont

[Pythonmac-SIG] Universal binary extensions questions [was: Re: suggestions for an appscript FAQ]

2008-03-27 Thread has
Jeremy Reichman wrote: > I just found out about appscript, and one of my early questions is > "can I > install it as a universal binary?" If I can't do that, my next > question is > "can I install it for both architectures simultaneously, on either > PowerPC > or Intel?" (I happen to do sys

Re: [Pythonmac-SIG] Using scripting bridge

2008-03-27 Thread has
Jan Erik Moström wrote: > I'm doing my first attempts in trying to use the scripting bridge > and I'm not very successful. I probably doesn't understand how to do > things at all and unfortunately I can't find any docs on how to do > things. Any particular reason for wanting to use Scriptin

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Emanuele Santos
The problem with jpeg in Qt is that it's included as a plugin. I don't know about the .dmg installation, as I built mine from source. I remember that I didn't know how to fix py2app to handle this, so I used this hack: After running, py2app, I copied the contents of the Qt plugins directory

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Ronald Oussoren
On 27 Mar, 2008, at 17:14, Emanuele Santos wrote: The problem with jpeg in Qt is that it's included as a plugin. I don't know about the .dmg installation, as I built mine from source. I remember that I didn't know how to fix py2app to handle this, so I used this hack: After running, py2app, I c

Re: [Pythonmac-SIG] Using scripting bridge

2008-03-27 Thread Jan Erik Moström
has <[EMAIL PROTECTED]> 08-03-27 14.57 >Any particular reason for wanting to use Scripting Bridge? >Appscript provides a native API, better application >compatibility and decent support tools, so I'd suggest taking >a look at that first. Because of my lack of knowledge regarding these things

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Lukáš 'Spike' Polívka
On Thu, Mar 27, 2008 at 10:23 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > Could you post the exact setup you're using again: > - Which version of OSX? > - Which copy of python (/usr/bin/python, Python.org installer, ...) > - How did you install PyQt (and which version)? > - How did you in