From 1873e80f63f801a462026e921f37cd78ce1d556d Mon Sep 17 00:00:00 2001 From: Marcus Smith Date: Sun, 28 Oct 2012 10:50:17 -0700 Subject: [PATCH] import check at 'pip wheel' command level is enough --- pip/wheel.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pip/wheel.py b/pip/wheel.py index d841599f683..74b81dd1887 100644 --- a/pip/wheel.py +++ b/pip/wheel.py @@ -199,12 +199,6 @@ def __init__(self, requirement_set, finder, wheel_dir, build_options=[], global_ def _build_one(self, req): """Build one wheel.""" - try: - import wheel - except ImportError: - logger.error('The wheel package is required; Failed to build a wheel for %s.' %req.name) - return False - base_args = [ sys.executable, '-c', "import setuptools;__file__=%r;"\