[Python-bugs-list] [ python-Feature Requests-414080 ] site-packages initialization

SourceForge.net noreply@sourceforge.net
Mon, 12 May 2003 15:58:17 -0700


Feature Requests item #414080, was opened at 2001-04-05 11:59
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=414080&group_id=5470

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ondrej Krajicek (okay)
Assigned to: Nobody/Anonymous (nobody)
Summary: site-packages initialization

Initial Comment:
It seems that site.py does not support site-packages 
on Windows. I do not know whether it is bug 
or "feature".

It does not check neither for site-
packages/subdirectories nor pth files.
Simple workaround is to reproduce
the code which handles site-packages
under un*x.


----------------------------------------------------------------------

>Comment By: Brett Cannon (bcannon)
Date: 2003-05-12 15:58

Message:
Logged In: YES 
user_id=357491

PEP 250 implemented this and it was added in Python 2.2  Closing as fixed.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-04-10 13:06

Message:
Logged In: YES 
user_id=6380

It's a "feature" -- it's intentional, although there is some
doubt as to whether the Windows policy is right.  Anyway,
the policy is that the Python root directory, (e.g.
C:\Python21) *is* the site-packages directory.

Moving this to feature requests because it's reasonable to
expect a site-packages directory on Windows.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=414080&group_id=5470