Sridhar Ratnakumar <sridh...@activestate.com> added the comment:

On 2010-05-24, at 3:46 PM, Martin v. Löwis wrote:

> Can you please provide a reproducible bug report? I have no idea what "paste" 
> is or how it got into your .local folder. Please structure the bug report as 
> follows:
> 
> 1. this is what you did
> 2. this is what happened
> 3. this is what you expected to happen instead

I was not sure if this is a bug .. which is why I was waiting till the 
completion of my investigation ...

> 
> Installing http://pypi.python.org/pypi/Paste through distribute's setup.py 
> install --user, I get
> 
> py> paste
> <module 'paste' from 
> '/home/martin/.local/lib/python/2.7/site-packages/Paste-1.7.3.1-py2.7.egg/paste/__init__.pyc'>

This is what I found: setuptools/Distribute does some namespace magic to make 
these namespace packages work in the absence of __init__.py. You should be able 
to reproduce this with --root option (or --single-version-multi-installed or 
some such thing) in "setup.py install" command to prevent .egg'fying the 
installed packages. So this is not a bug in Python; it is an expected behaviour 
of setuptools-installed packages that do not use .egg/ package structure.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to