You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
515 B
Python
19 lines
515 B
Python
![]()
2 months ago
|
from typing import List, Optional
|
||
|
|
||
|
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: (Optional[List[str]]) = 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)
|