diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-08-29 16:18:07 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-08-29 16:18:07 +0100 |
commit | 59a4b3f840b45258fddc82006f3635b702a9f464 (patch) | |
tree | 910d16003b9992094035834f5441e7bc67fb2eac | |
parent | c6487c98e4a9932e5747550106321e352fe935a2 (diff) | |
download | mercurial-tarball-59a4b3f840b45258fddc82006f3635b702a9f464.tar.gz |
Remove check for bz2, since we can live without
-rw-r--r-- | setup.py | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -36,23 +36,6 @@ except ImportError: raise SystemExit( "Couldn't import standard zlib (incomplete Python install).") -# The base IronPython distribution (as of 2.7.1) doesn't support bz2 -isironpython = False -try: - isironpython = (platform.python_implementation() - .lower().find("ironpython") != -1) -except AttributeError: - pass - -if isironpython: - sys.stderr.write("warning: IronPython detected (no bz2 support)\n") -else: - try: - import bz2 - except ImportError: - raise SystemExit( - "Couldn't import standard bz2 (incomplete Python install).") - import os, subprocess, time import shutil import tempfile |