[Python-checkins] CVS: distutils/distutils sysconfig.py,1.22,1.23
Greg Ward
python-dev@python.org
Tue, 1 Aug 2000 18:09:13 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv10445
Modified Files:
sysconfig.py
Log Message:
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
Index: sysconfig.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/sysconfig.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** sysconfig.py 2000/06/27 01:59:43 1.22
--- sysconfig.py 2000/08/02 01:09:11 1.23
***************
*** 268,289 ****
g['SO'] = '.pyd'
- g['exec_prefix'] = EXEC_PREFIX
-
- # These are needed for the CygwinCCompiler and Mingw32CCompiler
- # classes, which are just UnixCCompiler classes that happen to work on
- # Windows. UnixCCompiler expects to find these values in sysconfig, so
- # here they are. The fact that other Windows compilers don't need
- # these values is pure luck (hmmm).
-
- # XXX I think these are now unnecessary...
-
- g['CC'] = "cc" # not gcc?
- g['RANLIB'] = "ranlib"
- g['AR'] = "ar"
- g['OPT'] = "-O2"
- g['SO'] = ".pyd"
- g['LDSHARED'] = "ld"
- g['CCSHARED'] = ""
g['EXE'] = ".exe"
--- 268,273 ----
g['SO'] = '.pyd'
g['EXE'] = ".exe"
+ g['exec_prefix'] = EXEC_PREFIX