comparison paint/package2.py @ 53:c588375a7ce4

starting a new strawman to work out kinks
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Jan 2013 13:59:27 -0800
parents
children
comparison
equal deleted inserted replaced
52:026d693cd561 53:c588375a7ce4
1 """
2 Goals:
3
4 - expose package information for a given setup.py/package
5 - ensure that for a given set of packages that the versions are consistent
6 """
7
8 class Package2(object):
9
10 def __init__(self, src, verbose=True):
11 self.verbose = verbose
12 self._info = None
13 self._setup_py = None # local path to setup.py
14
15 def info(self):
16 """return info dictionary for a package"""
17
18 class PackageSet(object):
19 """
20 a group of packages
21
22 Functionality:
23 - unroll dependencies
24 - check consistency of dependencies
25 """