Mercurial > repos > bcclaywell > argo_navis
comparison venv/lib/python2.7/site-packages/pip/exceptions.py @ 0:d67268158946 draft
planemo upload commit a3f181f5f126803c654b3a66dd4e83a48f7e203b
author | bcclaywell |
---|---|
date | Mon, 12 Oct 2015 17:43:33 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d67268158946 |
---|---|
1 """Exceptions used throughout package""" | |
2 from __future__ import absolute_import | |
3 | |
4 | |
5 class PipError(Exception): | |
6 """Base pip exception""" | |
7 | |
8 | |
9 class InstallationError(PipError): | |
10 """General exception during installation""" | |
11 | |
12 | |
13 class UninstallationError(PipError): | |
14 """General exception during uninstallation""" | |
15 | |
16 | |
17 class DistributionNotFound(InstallationError): | |
18 """Raised when a distribution cannot be found to satisfy a requirement""" | |
19 | |
20 | |
21 class BestVersionAlreadyInstalled(PipError): | |
22 """Raised when the most up-to-date version of a package is already | |
23 installed. """ | |
24 | |
25 | |
26 class BadCommand(PipError): | |
27 """Raised when virtualenv or a command is not found""" | |
28 | |
29 | |
30 class CommandError(PipError): | |
31 """Raised when there is an error in command-line arguments""" | |
32 | |
33 | |
34 class PreviousBuildDirError(PipError): | |
35 """Raised when there's a previous conflicting build directory""" | |
36 | |
37 | |
38 class HashMismatch(InstallationError): | |
39 """Distribution file hash values don't match.""" | |
40 | |
41 | |
42 class InvalidWheelFilename(InstallationError): | |
43 """Invalid wheel filename.""" | |
44 | |
45 | |
46 class UnsupportedWheel(InstallationError): | |
47 """Unsupported wheel.""" |