|
Orbits
1
|
Public Member Functions | |
| def | __init__ |
| def | add |
| def | add_pth |
| def | compact |
| def | remove |
| def | rollback |
| def | commit |
Public Attributes | |
| paths | |
| pth | |
| dist | |
| save_dir | |
Private Member Functions | |
| def | _permitted |
| def | _can_uninstall |
| def | _stash |
Private Attributes | |
| _refuse | |
| _moved_paths | |
A set of file paths to be removed in the uninstallation of a requirement.
| def pip.req.UninstallPathSet.__init__ | ( | self, | |
| dist | |||
| ) |
|
private |
|
private |
Return True if the given path is one we are permitted to remove/modify, False otherwise.
|
private |
| def pip.req.UninstallPathSet.add | ( | self, | |
| path | |||
| ) |
| def pip.req.UninstallPathSet.add_pth | ( | self, | |
| pth_file, | |||
| entry | |||
| ) |
| def pip.req.UninstallPathSet.commit | ( | self | ) |
Remove temporary save dir: rollback will no longer be possible.
| def pip.req.UninstallPathSet.compact | ( | self, | |
| paths | |||
| ) |
Compact a path set to contain the minimal number of paths necessary to contain all paths in the set. If /a/path/ and /a/path/to/a/file.txt are both in the set, leave only the shorter path.
| def pip.req.UninstallPathSet.remove | ( | self, | |
auto_confirm = False |
|||
| ) |
Remove paths in ``self.paths`` with confirmation (unless ``auto_confirm`` is True).
| def pip.req.UninstallPathSet.rollback | ( | self | ) |
Rollback the changes previously made by remove().
|
private |
|
private |
| pip.req.UninstallPathSet.dist |
| pip.req.UninstallPathSet.paths |
| pip.req.UninstallPathSet.pth |
| pip.req.UninstallPathSet.save_dir |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.