__init__.py 455 B

123456789101112131415161718
  1. from pip._internal.utils.typing import MYPY_CHECK_RUNNING
  2. if MYPY_CHECK_RUNNING:
  3. from typing import List, Optional
  4. __version__ = "20.2.1"
  5. def main(args=None):
  6. # type: (Optional[List[str]]) -> int
  7. """This is an internal API only meant for use by pip's own console scripts.
  8. For additional details, see https://github.com/pypa/pip/issues/7498.
  9. """
  10. from pip._internal.utils.entrypoints import _wrapper
  11. return _wrapper(args)