__init__.py 410 B

123456789101112131415
  1. from typing import List, Optional
  2. import pip._internal.utils.inject_securetransport # noqa
  3. def main(args=None):
  4. # type: (Optional[List[str]]) -> int
  5. """This is preserved for old console scripts that may still be referencing
  6. it.
  7. For additional details, see https://github.com/pypa/pip/issues/7498.
  8. """
  9. from pip._internal.utils.entrypoints import _wrapper
  10. return _wrapper(args)