]> granicus.if.org Git - python/commitdiff
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
authorGreg Ward <gward@python.net>
Wed, 2 Aug 2000 01:09:11 +0000 (01:09 +0000)
committerGreg Ward <gward@python.net>
Wed, 2 Aug 2000 01:09:11 +0000 (01:09 +0000)
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).

Lib/distutils/sysconfig.py

index b2aa3f2d1e23a47d4ebcdc73c5efa1e456154556..f6d941ac13a9f4effeae1add66c32adca3139b05 100644 (file)
@@ -267,24 +267,8 @@ def _init_nt():
     g['INCLUDEPY'] = get_python_inc(plat_specific=0)
 
     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"
+    g['exec_prefix'] = EXEC_PREFIX
 
 
 def _init_mac():