# HG changeset patch # User k0s # Date 1264379473 18000 # Node ID 9aa8f57216498e4c939b9a976e4de9947806ebf5 # Parent f70d8f3aee5168673795348f317676d38a251220 add auto-creation of README files diff -r f70d8f3aee51 -r 9aa8f5721649 setup.py --- a/setup.py Sun Dec 27 16:38:50 2009 -0500 +++ b/setup.py Sun Jan 24 19:31:13 2010 -0500 @@ -1,7 +1,7 @@ from setuptools import setup, find_packages import sys, os -version = '0.6' +version = '0.6.1' setup(name='webob_view', version=version, diff -r f70d8f3aee51 -r 9aa8f5721649 webob_view/template/README.txt_tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webob_view/template/README.txt_tmpl Sun Jan 24 19:31:13 2010 -0500 @@ -0,0 +1,8 @@ +${project} +---------- + +${description} + +-- + +${url} \ No newline at end of file diff -r f70d8f3aee51 -r 9aa8f5721649 webob_view/template/setup.py_tmpl --- a/webob_view/template/setup.py_tmpl Sun Dec 27 16:38:50 2009 -0500 +++ b/webob_view/template/setup.py_tmpl Sun Jan 24 19:31:13 2010 -0500 @@ -1,13 +1,17 @@ from setuptools import setup, find_packages import sys, os +try: + description = file('README.txt').read() +except IOError: + description = '' + version = "0.0" setup(name=${repr(project)}, version=version, description="${description|nothing}", - long_description=""" -""", + long_description=description, classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers author=${repr(author)|empty}, author_email=${repr(author_email)|empty},