mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
import check at 'pip wheel' command level is enough
This commit is contained in:
parent
edbd5c291e
commit
1873e80f63
|
@ -199,12 +199,6 @@ class WheelBuilder(object):
|
|||
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;"\
|
||||
|
|
Loading…
Reference in a new issue