# HG changeset patch # User Jeff Hammel # Date 1310165700 25200 # Node ID c91abbdc871bfc64099ae40f93203b41883d7155 # Parent f05e636b744409a513ae9086c055aa70b091aaf5 * add TODO: dependencies * take docstring from the module itself diff -r f05e636b7444 -r c91abbdc871b carton.py --- 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 diff -r f05e636b7444 -r c91abbdc871b setup.py --- 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'