[Python-checkins] CVS: python/dist/src/Lib site.py,1.20,1.20.2.1
Moshe Zadka
moshez@users.sourceforge.net
Sat, 31 Mar 2001 05:52:04 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv19002/Lib
Modified Files:
Tag: release20-maint
site.py
Log Message:
The ".pth" code knew about the layout of Python trees on unix and
windows, but not on the mac. Fixed.
Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -C2 -r1.20 -r1.20.2.1
*** site.py 2000/10/03 17:11:37 1.20
--- site.py 2001/03/31 13:52:02 1.20.2.1
***************
*** 123,126 ****
--- 123,128 ----
"site-packages"),
makepath(prefix, "lib", "site-python")]
+ elif os.sep == ':':
+ sitedirs = [makepath(prefix, "lib", "site-packages")]
else:
sitedirs = [prefix]