Message162346
| Author |
alexis |
| Recipients |
alexis, eric.araujo, tarek |
| Date |
2012年06月05日.14:14:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338905654.72.0.587729085394.issue14950@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attaching a work in progress file which intend to replace the current install.py file. The implementation isn't finished yet but the overall design is here.
It comes with four classes:
- Installer which manages the overall installation procedure. It shares a distribution cache with the dependency handler so distributions are not downloaded / extracted multiple times. The installer is able to install / remove single distributions OR distributions with their dependency tree.
- DependencyHandler which takes care about getting the dependencies from either the metadata stored in the indexes or inside the distirbutions.
- The DistributionCache class is just a store containing the location of the distributions that had been extracted/downloaded. It provides methods to ease the work with them (so any external user don't need to care about the state of the distribution when requesting it).
- DirectoryMover provides a way to deal with moving/deleting operations with a commit/rollback API. The goal is to simplify a lot the current API and to provide a reusable tool for other installers. why not putting this in shutil at some point.
This file is provided here mostly for feedback, but the work is not finished yet. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月05日 14:14:15 | alexis | set | recipients:
+ alexis, tarek, eric.araujo |
| 2012年06月05日 14:14:14 | alexis | set | messageid: <1338905654.72.0.587729085394.issue14950@psf.upfronthosting.co.za> |
| 2012年06月05日 14:14:14 | alexis | link | issue14950 messages |
| 2012年06月05日 14:14:13 | alexis | create |
|