__init__.py 596 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 may still need to import from a vcs sub-package.)
  4. # Import all vcs modules to register each VCS in the VcsSupport object.
  5. import pip._internal.vcs.bazaar
  6. import pip._internal.vcs.git
  7. import pip._internal.vcs.mercurial
  8. import pip._internal.vcs.subversion # noqa: F401
  9. from pip._internal.vcs.versioncontrol import ( # noqa: F401
  10. RemoteNotFoundError,
  11. RemoteNotValidError,
  12. is_url,
  13. make_vcs_requirement_url,
  14. vcs,
  15. )