codekingpro/portable-devtools
114k
1from __future__ import annotations2 3from pip._internal.utils import _log4 5# init_logging() must be called before any call to logging.getLogger()6# which happens at import of most modules.7_log.init_logging()8 9 10def main(args: list[str] | None = None) -> int:11 """This is preserved for old console scripts that may still be referencing12 it.13 14 For additional details, see https://github.com/pypa/pip/issues/7498.15 """16 from pip._internal.utils.entrypoints import _wrapper17 18 return _wrapper(args)19 