OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, dist) |
def | add (self, path) |
def | add_pth (self, pth_file, entry) |
def | remove (self, auto_confirm=False, verbose=False) |
def | rollback (self) |
def | commit (self) |
def | from_dist (cls, dist) |
Data Fields | |
paths | |
pth | |
dist | |
A set of file paths to be removed in the uninstallation of a requirement.
def __init__ | ( | self, | |
dist | |||
) |
def add | ( | self, | |
path | |||
) |
def add_pth | ( | self, | |
pth_file, | |||
entry | |||
) |
def commit | ( | self | ) |
Remove temporary save dir: rollback will no longer be possible.
def from_dist | ( | cls, | |
dist | |||
) |
def remove | ( | self, | |
auto_confirm = False , |
|||
verbose = False |
|||
) |
Remove paths in ``self.paths`` with confirmation (unless ``auto_confirm`` is True).
def rollback | ( | self | ) |
Rollback the changes previously made by remove().
dist |
paths |
pth |