Skip to content

Commit

Permalink
import check at 'pip wheel' command level is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
qwcode committed Oct 28, 2012
1 parent edbd5c2 commit 1873e80
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pip/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;"\
Expand Down

0 comments on commit 1873e80

Please sign in to comment.