comparison env/lib/python3.7/site-packages/pip/_internal/main.py @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
1 from pip._internal.utils.typing import MYPY_CHECK_RUNNING
2
3 if MYPY_CHECK_RUNNING:
4 from typing import Optional, List
5
6
7 def main(args=None):
8 # type: (Optional[List[str]]) -> int
9 """This is preserved for old console scripts that may still be referencing
10 it.
11
12 For additional details, see https://github.com/pypa/pip/issues/7498.
13 """
14 from pip._internal.utils.entrypoints import _wrapper
15
16 return _wrapper(args)