classification
Title: vendor-packages directory.
Type: feature request Stage:
Components: Library (Lib) Versions: Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: ajaksu2, loewis, richburridge, tarek, tjreedy (5)
Priority: normal Keywords patch

Created on 2005-09-22 15:12 by richburridge, last changed 2009-04-05 14:32 by georg.brandl.

Files
File name Uploaded Description Edit Remove
Python-01-vendor-packages.diff richburridge, 2005-09-22 15:12 Patch to add "vendor-packages" to the Python search list for packages.
Messages (5)
msg48758 - (view) Author: Rich Burridge (richburridge) Date: 2005-09-22 15:12
Python needs a .../python2.x.y/vendor-packages directory
for vendor supplied Python files.

See:

http://mail.python.org/pipermail/python-list/2005-September/300029.html

for the full reasoning behind this request.

I also approached Guido w.r.t. this. Here's his reply.

Subject: Re: Python vendor-packages directory in a
future Python release?
Date: Tue, 20 Sep 2005 19:48:40 -0700
From: Guido van Rossum <guido at python.org>
Reply-To: Guido van Rossum <guido at python.org>
To: Rich Burridge <Rich.Burridge at Sun.COM>
References: <4330C108.4030100@sun.com>

I think that's a reasonable request. (In the mean time,
I think that
using site-packages is fine as an interim solution.)

I suggest that you use the SourceForge patch manager
for the Python
project to upload your patch, and then post to
python-dev. You may be
asked to review 5 other patches in order to have
someone look at your
favorite patch.

--Guido
msg48759 - (view) Author: Terry J. Reedy (tjreedy) Date: 2005-09-23 23:49
Logged In: YES 
user_id=593130

The reason for this patch given in the referred-to post is:

"We have been told that this directory is inappropriate for vendor 
supplied packages, just as "site_perl" is inappropriate for Perl. 
With Perl, vendor supplied packages go under "vendor_perl". "

where 'this directory' is site-packages, which works fine.

The python-dev thread subequent to this posting starts with
http://mail.python.org/pipermail/python-dev/2005-
September/056682.html
A subsequent post
http://mail.python.org/pipermail/python-dev/2005-
September/056696.html
clarifies that 'vendor supplied packages' here means packages 
installed by the system/OS vendor.

Disconnected (in the pipermail archives) pieces of the thread 
start here
http://mail.python.org/pipermail/python-dev/2005-
September/056697.html
and here
http://mail.python.org/pipermail/python-dev/2005-
September/056702.html

This last suggests that this proposal is on hold while a .pth 
solution is explored.




msg48760 - (view) Author: Rich Burridge (richburridge) Date: 2005-09-29 14:47
Logged In: YES 
user_id=511506

A good alternative solution to this problem was given on the
python-devel
mailing list. See:

 
http://mail.python.org/pipermail/python-dev/2005-September/056697.html

 
http://mail.python.org/pipermail/python-dev/2005-September/056699.html

The architectural commitee have approved this solution, so
I'm closing
this bug as "Invalid". If there'd been a "Withdrawn"
resolution, I'd have
closed it that way instead. Perhaps that's what Deleted is
supposed to
do. Feel free to tweak if I've selected the wrong closure.
msg48761 - (view) Author: Martin v. Löwis (loewis) Date: 2006-11-29 21:05
Guido van Rossum suggests a vendor-packages directory in

http://mail.python.org/pipermail/python-dev/2006-November/070063.html

I'm reopening the patch to encourage further review.
msg83873 - (view) Author: Daniel Diniz (ajaksu2) Date: 2009-03-20 22:30
Should be considered for 3.1 and 2.7.
History
Date User Action Args
2009-04-05 14:32:21georg.brandlsetassignee: tarek

nosy: + tarek
2009-03-20 22:30:24ajaksu2setversions: + Python 3.1, Python 2.7, - Python 2.4
nosy: + ajaksu2

messages: + msg83873

type: feature request
2005-09-22 15:12:42richburridgecreate