[Python-checkins] CVS: python/dist/src/Lib site.py,1.20,1.20.2.1

Moshe Zadka moshez@users.sourceforge.net
2001年3月31日 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]

AltStyle によって変換されたページ (->オリジナル) /