Загрузить файлы в «venv/Lib/site-packages/pip/_internal»

This commit is contained in:
2026-07-02 19:12:21 +00:00
parent 07fee38db6
commit 698da6c155
5 changed files with 2282 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from __future__ import annotations
from pip._internal.utils import _log
# init_logging() must be called before any call to logging.getLogger()
# which happens at import of most modules.
_log.init_logging()
def main(args: list[str] | None = None) -> int:
"""This is preserved for old console scripts that may still be referencing
it.
For additional details, see https://github.com/pypa/pip/issues/7498.
"""
from pip._internal.utils.entrypoints import _wrapper
return _wrapper(args)