Mercurial > hg > genshi_view
diff genshi_view/template/setup.py_tmpl @ 19:4a5b542a638c
add README to template
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 24 Jan 2010 12:50:12 -0500 |
parents | 15cc68a342b0 |
children | 807c8eef8098 |
line wrap: on
line diff
--- a/genshi_view/template/setup.py_tmpl Sun Dec 27 16:44:26 2009 -0500 +++ b/genshi_view/template/setup.py_tmpl Sun Jan 24 12:50:12 2010 -0500 @@ -1,12 +1,16 @@ from setuptools import setup, find_packages +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},