On Mar 03, 2011, at 11:05 PM, Manlio Perillo wrote: >It seems I'm having some trobles with setuptools and namespace packages >under Debian Squeeze and Python 2.6.
Can you be more specific about what problems you're having? >One thing to say about Python 2.6 on Debian Squeeze is that "local" >packages are installed under /usr/local/lib/python2.6/dist-packages/. I think I explained the reason for this about 5 times at Pycon yesterday, meaning it's probably time to blog about it. :) >I have tried with system default python 2.5, and namespace packages >works. The same when I create a virtual environment with python 2.6. >The problem seems to just be with system default python 2.6. > >I'm using the original setuptools (installed from sources), and not the >one provided by Debian. Yes, I think this is going to give you problems because it doesn't know about dist-packages, and site-packages is not on sys.path by default in the system Python. Please try again with the Ubuntu setuptools package (which is really distribute). It's been modified to know about dist-packages. -Barry
signature.asc
Description: PGP signature
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
