Mercurial > hg > PaInt
changeset 61:1234bfb1f1f0
we really need to pick a canon
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 25 Jan 2013 10:34:19 -0800 |
parents | aa3c90255db6 |
children | 726008cff4e3 |
files | paint/info.py tests/doctest.txt |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/paint/info.py Fri Jan 25 09:58:33 2013 -0800 +++ b/paint/info.py Fri Jan 25 10:34:19 2013 -0800 @@ -9,6 +9,17 @@ from subprocess import check_call as call +# TODO: +# Reconcile the difference between the keys (and values) between the different +# implementations. Pick a canon and stick with it. + +# SetupOverridePackageInfo: +# {'entry_points': '\n', 'description': 'a dummy package', 'license': '', 'author': 'Jeff Hammel', 'install_requires': [], 'include_package_data': True, 'classifiers': [], 'url': 'http://example.com/', 'author_email': 'jhammel@mozilla.com', 'version': '0.1', 'zip_safe': False, 'packages': ['dummy'], 'long_description': 'dummy\n===========\n\na dummy package\n\n----\n\nJeff Hammel\n\nhttp://example.com/\n\n', 'name': 'dummy'} + +# EggInfo: +# {'Name': 'dummy', 'License': 'UNKNOWN', 'Author': 'Jeff Hammel', 'Metadata-Version': '1.0', 'Home-page': 'http://example.com/', 'Summary': 'a dummy package', 'Platform': 'UNKNOWN', 'Version': '0.1', 'Author-email': 'jhammel@mozilla.com', 'Description': 'dummy'} + + class PackageInfo(object): """abstract base class of package info""" def __init__(self, path):