[Pythonmac-SIG] Appscript and Snow Leopard and setuptools...

Bill Janssen janssen at parc.com
Fri Sep 18 17:48:34 CEST 2009


Ronald Oussoren <ronaldoussoren at mac.com> wrote:

> 
> On 17 Sep, 2009, at 23:50, Bill Janssen wrote:
> 
> > Ronald Oussoren <ronaldoussoren at mac.com> wrote:
> >
> >> Bill,
> >>
> >> Appscript probably gets installed as a zipped egg, the .python-eggs
> >> directory gets created when a real filesystem path is needed for an
> >> item in such an egg.
> >
> > Yes, that's part of the problem.  The other part is that .pth handling
> > seems to have changed from 2.5 to 2.6.
> >
> >> If you install appscript as an unzipped egg the problem should go
> >> away.
> >
> > How does one do that?
> 
> Either "python setup.py bdist_egg" and then use the right flags to
> easy_install; or add 'zip_safe = False' to the arguments of setup() in
> setup.py install install using "python setup.py install".

Thanks, Ronald.

Hmmm.  Neither seems ideal.  The first idea involves actually *using*
setuptools (easy_install), and the second involves editing the setup.py
file.

I suppose I could use "python setup.py bdist_egg", then use "unzip" to
unpack it in the right place, too.

Bill


More information about the Pythonmac-SIG mailing list