"""Exceptions used throughout package"""
class PipError(Exception):
"""Base pip exception"""
class InstallationError(PipError):
"""General exception during installation"""
class UninstallationError(PipError):
"""General exception during uninstallation"""
class DistributionNotFound(InstallationError):
"""Raised when a distribution cannot be found to satisfy a requirement"""
class BestVersionAlreadyInstalled(PipError):
"""Raised when the most up-to-date version of a package is already
installed. """
class BadCommand(PipError):
"""Raised when virtualenv or a command is not found"""
class CommandError(PipError):
"""Raised when there is an error in command-line arguments"""
class PreviousBuildDirError(PipError):
"""Raised when there's a previous conflicting build directory"""
class HashMismatch(InstallationError):
"""Distribution file hash values don't match."""
class InvalidWheelFilename(InstallationError):
"""Invalid wheel filename."""
class UnsupportedWheel(InstallationError):
"""Unsupported wheel."""
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| _vendor | Folder | 0755 |
|
|
| backwardcompat | Folder | 0755 |
|
|
| commands | Folder | 0755 |
|
|
| vcs | Folder | 0755 |
|
|
| __init__.py | File | 9.21 KB | 0644 |
|
| __main__.py | File | 116 B | 0644 |
|
| basecommand.py | File | 6.42 KB | 0644 |
|
| baseparser.py | File | 7.97 KB | 0644 |
|
| cmdoptions.py | File | 9.11 KB | 0644 |
|
| download.py | File | 22.05 KB | 0644 |
|
| exceptions.py | File | 1.06 KB | 0644 |
|
| index.py | File | 39.46 KB | 0644 |
|
| locations.py | File | 6.06 KB | 0644 |
|
| log.py | File | 9.23 KB | 0644 |
|
| pep425tags.py | File | 2.9 KB | 0644 |
|
| req.py | File | 81.79 KB | 0644 |
|
| runner.py | File | 431 B | 0644 |
|
| status_codes.py | File | 116 B | 0644 |
|
| util.py | File | 24.54 KB | 0644 |
|
| wheel.py | File | 20.31 KB | 0644 |
|