OpenQuizz
Une application de gestion des contenus pédagogiques
|
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 | |
Handles all VCS (version control) support
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.
def pip._internal.vcs.versioncontrol.is_url | ( | name | ) |
Return true if the name looks like a 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.
AuthInfo |
logger |
vcs |