diff -r bdb60057f905 -r 16a13fdb4b36 setup.py --- a/setup.py Mon Mar 22 22:19:40 2010 +0100 +++ b/setup.py Tue Mar 23 20:01:30 2010 +0100 @@ -26,6 +26,12 @@ raise SystemExit( "Couldn't import standard zlib (incomplete Python install).") +try: + import bz2 +except: + raise SystemExit( + "Couldn't import standard bz2 (incomplete Python install).") + import os, subprocess, time import shutil import tempfile