__init__.py 617 B

123456789101112131415
  1. # Expose a limited set of classes and functions so callers outside of
  2. # the vcs package don't need to import deeper than `pip._internal.vcs`.
  3. # (The test directory and imports protected by MYPY_CHECK_RUNNING may
  4. # still need to import from a vcs sub-package.)
  5. # Import all vcs modules to register each VCS in the VcsSupport object.
  6. import pip._internal.vcs.bazaar
  7. import pip._internal.vcs.git
  8. import pip._internal.vcs.mercurial
  9. import pip._internal.vcs.subversion # noqa: F401
  10. from pip._internal.vcs.versioncontrol import ( # noqa: F401
  11. RemoteNotFoundError,
  12. is_url,
  13. make_vcs_requirement_url,
  14. vcs,
  15. )