Mercurial > hg > PaInt
view paint/package2.py @ 86:33af6dac25de
remove tests; theyre all based on old things that dont work, sadly
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 22 Feb 2016 14:52:32 -0800 |
parents | c588375a7ce4 |
children |
line wrap: on
line source
""" Goals: - expose package information for a given setup.py/package - ensure that for a given set of packages that the versions are consistent """ class Package2(object): def __init__(self, src, verbose=True): self.verbose = verbose self._info = None self._setup_py = None # local path to setup.py def info(self): """return info dictionary for a package""" class PackageSet(object): """ a group of packages Functionality: - unroll dependencies - check consistency of dependencies """