Mercurial > hg > PaInt
comparison paint/info.py @ 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 | 8f39ba642531 |
comparison
equal
deleted
inserted
replaced
60:aa3c90255db6 | 61:1234bfb1f1f0 |
---|---|
6 import os | 6 import os |
7 import subprocess | 7 import subprocess |
8 import sys | 8 import sys |
9 | 9 |
10 from subprocess import check_call as call | 10 from subprocess import check_call as call |
11 | |
12 # TODO: | |
13 # Reconcile the difference between the keys (and values) between the different | |
14 # implementations. Pick a canon and stick with it. | |
15 | |
16 # SetupOverridePackageInfo: | |
17 # {'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'} | |
18 | |
19 # EggInfo: | |
20 # {'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'} | |
21 | |
11 | 22 |
12 class PackageInfo(object): | 23 class PackageInfo(object): |
13 """abstract base class of package info""" | 24 """abstract base class of package info""" |
14 def __init__(self, path): | 25 def __init__(self, path): |
15 """ | 26 """ |