mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
fixed missing BadCommand exception class
This commit is contained in:
parent
3dae23ee8d
commit
cab4358bc7
3
pip.py
3
pip.py
|
@ -40,6 +40,9 @@ class InstallationError(Exception):
|
|||
class DistributionNotFound(InstallationError):
|
||||
"""Raised when a distribution cannot be found to satisfy a requirement"""
|
||||
|
||||
class BadCommand(Exception):
|
||||
"""Raised when virtualenv is not found"""
|
||||
|
||||
if getattr(sys, 'real_prefix', None):
|
||||
## FIXME: is build/ a good name?
|
||||
base_prefix = os.path.join(sys.prefix, 'build')
|
||||
|
|
Loading…
Reference in a new issue