[Python-checkins] CVS: python/dist/src/Lib/distutils sysconfig.py,1.41,1.42

Jack Jansen jackjansen@users.sourceforge.net
Tue, 04 Sep 2001 05:01:51 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv1543

Modified Files:
	sysconfig.py 
Log Message:
On the mac some library paths returned were outdated, some were outright funny.
Fixed.


Index: sysconfig.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/sysconfig.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** sysconfig.py	2001/08/23 20:53:27	1.41
--- sysconfig.py	2001/09/04 12:01:49	1.42
***************
*** 103,116 ****
          if plat_specific:
              if standard_lib:
!                 return os.path.join(prefix, "Mac", "Plugins")
              else:
!                 raise DistutilsPlatformError(
!                     "OK, where DO site-specific extensions go on the Mac?")
          else:
              if standard_lib:
                  return os.path.join(prefix, "Lib")
              else:
!                 raise DistutilsPlatformError(
!                     "OK, where DO site-specific modules go on the Mac?")
      else:
          raise DistutilsPlatformError(
--- 103,114 ----
          if plat_specific:
              if standard_lib:
!                 return os.path.join(prefix, "Lib", "lib-dynload")
              else:
!                 return os.path.join(prefix, "Lib", "site-packages")
          else:
              if standard_lib:
                  return os.path.join(prefix, "Lib")
              else:
!                 return os.path.join(prefix, "Lib", "site-packages")
      else:
          raise DistutilsPlatformError(