[Python-Dev] vendor-packages directory

Phillip J. Eby pje at telecommunity.com
Thu Sep 22 20:16:48 CEST 2005


At 08:19 AM 9/22/2005 -0700, Rich Burridge wrote:

>Hi,
>
>Recently I asked about the inclusion of a "vendor-packages"
>directory for Python on the Python mailing list.
>
>See the thread started at:
>
>    http://mail.python.org/pipermail/python-list/2005-September/300029.html
>
>for the full reasoning behind this request, and the replies
>I received.

I'm with Terry on this, it needs a better rationale.  Why can't you just 
add a .pth file to the site-packages directory?  It seems that would 
address the issue nicely.

(See http://docs.python.org/lib/module-site.html for documentation of the 
.pth mechanism, which would let you implement a separate vendor-packages 
directory without modifying Python, and would still allow local overrides 
of your vendor packages.)



More information about the Python-Dev mailing list