summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-01 13:20:44 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-01 13:20:44 (GMT)
commit25987d0c4be3cc8e332879d830ef112f930e01b4 (patch)
tree7788a9bd26ecbe8d2ff934ca917671bab96047ed
parent25d5737f1583fc3844fd27f37cacb673937f7af9 (diff)
downloadcpython-25987d0c4be3cc8e332879d830ef112f930e01b4.zip
cpython-25987d0c4be3cc8e332879d830ef112f930e01b4.tar.gz
cpython-25987d0c4be3cc8e332879d830ef112f930e01b4.tar.bz2
The compiler class for EMX was removed
-rw-r--r--Lib/packaging/compiler/__init__.py5
-rw-r--r--Lib/packaging/compiler/ccompiler.py2
2 files changed, 2 insertions, 5 deletions
diff --git a/Lib/packaging/compiler/__init__.py b/Lib/packaging/compiler/__init__.py
index 34315aa..e267e9f 100644
--- a/Lib/packaging/compiler/__init__.py
+++ b/Lib/packaging/compiler/__init__.py
@@ -83,19 +83,16 @@ def customize_compiler(compiler):
# patterns. Order is important; platform mappings are preferred over
# OS names.
_default_compilers = (
-
# Platform string mappings
# on a cygwin built python we can use gcc like an ordinary UNIXish
# compiler
('cygwin.*', 'unix'),
- ('os2emx', 'emx'),
# OS name mappings
('posix', 'unix'),
('nt', 'msvc'),
-
- )
+)
def get_default_compiler(osname=None, platform=None):
""" Determine the default compiler to use for the given platform.
diff --git a/Lib/packaging/compiler/ccompiler.py b/Lib/packaging/compiler/ccompiler.py
index ef806a2..d274327 100644
--- a/Lib/packaging/compiler/ccompiler.py
+++ b/Lib/packaging/compiler/ccompiler.py
@@ -352,7 +352,7 @@ class CCompiler:
return macros, objects, extra, pp_opts, build
def _get_cc_args(self, pp_opts, debug, before):
- # works for unixccompiler, emxccompiler, cygwinccompiler
+ # works for unixccompiler and cygwinccompiler
cc_args = pp_opts + ['-c']
if debug:
cc_args[:0] = ['-g']