[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-05 Thread Lukáš 'Spike' Polívka
Hello! I'm trying to build an app bundle of Jabbim client [1] for Mac OS X using py2app & setuptools. I have followed py2app docs [2]. When I build an 'alias' (see Development with alias mode) mode app, I can run it. On the other hand, if I build for deployment (without -A flag), I get the followi

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

2008-03-05 Thread Phillip J. Eby
At 09:00 AM 3/5/2008 +0100, Lukᚠ'Spike' Polívka wrote: >Traceback (most recent call last): File >"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", > >line 548, in _run self.run_normal() File >"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2a

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

2008-03-05 Thread Lukáš 'Spike' Polívka
On Wed, Mar 5, 2008 at 2:28 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > This error appears to indicate that py2app is having trouble creating > a .pyc or .pyo file, due to not being able to run > > "/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS

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-05 Thread Christopher Barker
Lukáš 'Spike' Polívka wrote: > When running the app or building an alias bundle, I have to export > PYTHON_PATH and use --use-pythonpath flag, after that, it works. When > building a deployment bundle, it does not work. This MAY be a hint. When py2app does its thing, it moves all the modules it t

[Pythonmac-SIG] Bug: Apps built with py2app on Leopard will default to import system-default libraries

2008-03-05 Thread Nathan
After much discussion on the pyglet and twisted mailing lists, I've isolated a bug in py2app's handling of sys.path on Leopard. Scenario: A custom installation of a python package is installed in /Library/Python/2.5/site-packages or elsewhere. The environment is set to use that package first, ei

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-05 Thread Ronald Oussoren
On 5 Mar, 2008, at 18:27, Christopher Barker wrote: Lukáš 'Spike' Polívka wrote: When running the app or building an alias bundle, I have to export PYTHON_PATH and use --use-pythonpath flag, after that, it works. When building a deployment bundle, it does not work. This MAY be a hint. When p

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-05 Thread Lukáš 'Spike' Polívka
On Thu, Mar 6, 2008 at 7:51 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 5 Mar, 2008, at 18:27, Christopher Barker wrote: > > > Lukáš 'Spike' Polívka wrote: > >> When running the app or building an alias bundle, I have to export > >> PYTHON_PATH and use --use-pythonpath flag, after tha