diff paint/info.py @ 71:da69d58f960d

stub method of conversion, PackageSet, and some cleanup
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 27 Jan 2013 17:57:38 -0800
parents fea269259222
children 5b10f2c03cb9
line wrap: on
line diff
--- a/paint/info.py	Sat Jan 26 00:10:53 2013 -0800
+++ b/paint/info.py	Sun Jan 27 17:57:38 2013 -0800
@@ -7,6 +7,7 @@
 import subprocess
 import sys
 
+from distutils.dist import DistributionMetadata
 from subprocess import check_call as call
 
 # TODO:
@@ -25,6 +26,15 @@
 
 # TODO: consider using pkginfo
 
+def setup2metadata(**kwargs):
+    """
+    convert setup arguments to standard python metadata:
+    http://www.python.org/dev/peps/pep-0314/
+    """
+    metadata = DistributionMetadata()
+    raise NotImplementedError("TODO")
+
+
 class PackageInfo(object):
     """abstract base class of package info"""
     def __init__(self, path):