Mercurial > hg > PaInt
comparison paint/package.py @ 12:ceb8c69a16f3
dependencies should consume info
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Fri, 24 Feb 2012 15:21:28 -0800 |
| parents | c41a946d34af |
| children | 0dd1f8f83be2 |
comparison
equal
deleted
inserted
replaced
| 11:c41a946d34af | 12:ceb8c69a16f3 |
|---|---|
| 71 self._tmppath = None | 71 self._tmppath = None |
| 72 | 72 |
| 73 __del__ = cleanup | 73 __del__ = cleanup |
| 74 | 74 |
| 75 def info(self): | 75 def info(self): |
| 76 """return info dictionary for package""" | |
| 76 path = self.path() | 77 path = self.path() |
| 77 assert os.path.exists(os.path.join(path, 'setup.py')) | 78 assert os.path.exists(os.path.join(path, 'setup.py')) |
| 78 | 79 |
| 79 def dependencies(self): | 80 def dependencies(self): |
| 80 path = self.path() | 81 info = self.info() |
