Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pip/_internal/__init__.py: 71%
7 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:48 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:48 +0000
1from typing import List, Optional
3import pip._internal.utils.inject_securetransport # noqa
4from pip._internal.utils import _log
6# init_logging() must be called before any call to logging.getLogger()
7# which happens at import of most modules.
8_log.init_logging()
11def main(args: (Optional[List[str]]) = None) -> int:
12 """This is preserved for old console scripts that may still be referencing
13 it.
15 For additional details, see https://github.com/pypa/pip/issues/7498.
16 """
17 from pip._internal.utils.entrypoints import _wrapper
19 return _wrapper(args)