summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-08-02 01:09:11 (GMT)
committerGreg Ward <gward@python.net>2000-08-02 01:09:11 (GMT)
commit1d526dd3b370fc7104ed3a9d025c1b3f541eac08 (patch)
treee6337b0d791d4db22ef8798ee4a39aef78ce15f0 /Lib
parent88608caff223b3a935e72669f11241029744af15 (diff)
downloadcpython-1d526dd3b370fc7104ed3a9d025c1b3f541eac08.zip
cpython-1d526dd3b370fc7104ed3a9d025c1b3f541eac08.tar.gz
cpython-1d526dd3b370fc7104ed3a9d025c1b3f541eac08.tar.bz2
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/sysconfig.py18
1 files changed, 1 insertions, 17 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index b2aa3f2..f6d941a 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -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():