Current Path: > > lib > > python3.6 > site-packages > pip > commands
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 2244 bytes | April 06 2024 13:40:45. | |
check.py | File | 1382 bytes | April 06 2024 13:40:45. | |
completion.py | File | 2453 bytes | April 06 2024 13:40:45. | |
download.py | File | 7810 bytes | April 06 2024 13:40:45. | |
freeze.py | File | 2835 bytes | April 06 2024 13:40:45. | |
hash.py | File | 1597 bytes | April 06 2024 13:40:45. | |
help.py | File | 982 bytes | April 06 2024 13:40:45. | |
install.py | File | 18289 bytes | April 06 2024 13:40:45. | |
list.py | File | 11369 bytes | April 06 2024 13:40:45. | |
search.py | File | 4502 bytes | April 06 2024 13:40:45. | |
show.py | File | 5891 bytes | April 06 2024 13:40:45. | |
uninstall.py | File | 2884 bytes | April 06 2024 13:40:45. | |
wheel.py | File | 7729 bytes | April 06 2024 13:40:45. |
import logging from pip.basecommand import Command from pip.operations.check import check_requirements from pip.utils import get_installed_distributions logger = logging.getLogger(__name__) class CheckCommand(Command): """Verify installed packages have compatible dependencies.""" name = 'check' usage = """ %prog [options]""" summary = 'Verify installed packages have compatible dependencies.' def run(self, options, args): dists = get_installed_distributions(local_only=False, skip=()) missing_reqs_dict, incompatible_reqs_dict = check_requirements(dists) for dist in dists: key = '%s==%s' % (dist.project_name, dist.version) for requirement in missing_reqs_dict.get(key, []): logger.info( "%s %s requires %s, which is not installed.", dist.project_name, dist.version, requirement.project_name) for requirement, actual in incompatible_reqs_dict.get(key, []): logger.info( "%s %s has requirement %s, but you have %s %s.", dist.project_name, dist.version, requirement, actual.project_name, actual.version) if missing_reqs_dict or incompatible_reqs_dict: return 1 else: logger.info("No broken requirements found.")
SILENT KILLER Tool