changeset 16:c91abbdc871b

* add TODO: dependencies * take docstring from the module itself
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 08 Jul 2011 15:55:00 -0700
parents f05e636b7444
children b05f5f1ec26e
files carton.py setup.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/carton.py	Fri Jul 08 15:35:53 2011 -0700
+++ b/carton.py	Fri Jul 08 15:55:00 2011 -0700
@@ -107,6 +107,7 @@
     tf.extractall(srcdir)
 
     # setup sources for development if there are any new setup.py files
+    # TODO: ideally this would figure out dependency order for you
     for i in os.listdir(srcdir):
         if i in setup_pys:
             continue
--- a/setup.py	Fri Jul 08 15:35:53 2011 -0700
+++ b/setup.py	Fri Jul 08 15:55:00 2011 -0700
@@ -1,10 +1,9 @@
-import os
 from setuptools import setup
 
 try:
-    here = os.path.dirname(os.path.abspath(__file__))
-    description = file(os.path.join(here, 'README.txt')).read()
-except IOError:
+    import carton
+    description = carton.__doc__
+except ImportError:
     description = None
 
 version = '0.1'