comparison env/lib/python3.9/site-packages/pip/_internal/main.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 from pip._internal.utils.typing import MYPY_CHECK_RUNNING
2
3 if MYPY_CHECK_RUNNING:
4 from typing import List, Optional
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)