[Python-checkins] CVS: distutils/distutils sysconfig.py,1.40,1.41

Greg Ward gward@users.sourceforge.net
Thu, 23 Aug 2001 13:53:30 -0700


Update of /cvsroot/python/distutils/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv20084

Modified Files:
	sysconfig.py 
Log Message:
Patch #449054 to implement PEP 250.  The standard install directory for
modules and extensions on Windows is now $PREFIX/Lib/site-packages.
Includes backwards compatibility code for pre-2.2 Pythons.  Contributed
by Paul Moore.


Index: sysconfig.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/sysconfig.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** sysconfig.py	2001/08/02 20:03:12	1.40
--- sysconfig.py	2001/08/23 20:53:27	1.41
***************
*** 95,99 ****
              return os.path.join(prefix, "Lib")
          else:
!             return prefix
  
      elif os.name == "mac":
--- 95,102 ----
              return os.path.join(prefix, "Lib")
          else:
!             if sys.version < "2.2":
!                 return prefix
!             else:
!                 return os.path.join(PREFIX, "Lib", "site-packages")
  
      elif os.name == "mac":