[Distutils] issues with namespace packages on Debian Squeeze and Python 2.6

Leonardo Rochael Almeida leorochael at gmail.com
Wed Mar 23 14:51:10 CET 2011


Maybe not a debian-specific workaround, but a setting like:

  [buildout]
  additional-site-packages =
      /usr/lib/python2.6/dist-packages
      /usr/local/lib/python2.6/dist-packages

On Wed, Mar 23, 2011 at 14:42, Reinout van Rees <reinout at vanrees.org> wrote:
> On 22-03-11 18:57, Carl Meyer wrote:
>>>
>>> Only: buildout cannot detect the eggs in their non-standard locations as
>>> >  buildout obviously doesn't have the ubuntu setuptools' fix...
>>
>> This sounds more likely to be caused by not having the site.py changes I
>> mentioned above. IIRC buildout 1.5 uses "python -S" to avoid the
>> automatic import of site.py, so it would never see the Debian/Ubuntu
>> modifications in site.py. As long as buildout uses "-S", I think the
>> only fix for that would be for buildout's "detect system-wide eggs"
>> feature to add in explicit workaround/support for dist-packages. This is
>> what virtualenv does.
>
> Just making sure: you're suggesting a debian-specific workaround in
> buildout?
>
> Buildout maintainers: would adding such a workaround be OK with you?
>
>
> Reinout
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>


More information about the Distutils-SIG mailing list