OpenQuizz
Une application de gestion des contenus pédagogiques
pip._internal.vcs.versioncontrol Namespace Reference

Data Structures

class  RemoteNotFoundError
 
class  RevOptions
 
class  VcsSupport
 
class  VersionControl
 

Functions

def is_url (name)
 
def make_vcs_requirement_url (repo_url, rev, project_name, subdir=None)
 
def find_path_to_setup_from_repo_root (location, repo_root)
 

Variables

 logger
 
 AuthInfo
 
 vcs
 

Detailed Description

Handles all VCS (version control) support

Function Documentation

◆ find_path_to_setup_from_repo_root()

def pip._internal.vcs.versioncontrol.find_path_to_setup_from_repo_root (   location,
  repo_root 
)
Find the path to `setup.py` by searching up the filesystem from `location`.
Return the path to `setup.py` relative to `repo_root`.
Return None if `setup.py` is in `repo_root` or cannot be found.

◆ is_url()

def pip._internal.vcs.versioncontrol.is_url (   name)
Return true if the name looks like a URL.

◆ make_vcs_requirement_url()

def pip._internal.vcs.versioncontrol.make_vcs_requirement_url (   repo_url,
  rev,
  project_name,
  subdir = None 
)
Return the URL for a VCS requirement.

Args:
  repo_url: the remote VCS url, with any needed VCS prefix (e.g. "git+").
  project_name: the (unescaped) project name.

Variable Documentation

◆ AuthInfo

AuthInfo

◆ logger

logger

◆ vcs

vcs