Mercurial > hg > genshi_view
comparison 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 |
comparison
equal
deleted
inserted
replaced
18:24cd9c7749ce | 19:4a5b542a638c |
---|---|
1 from setuptools import setup, find_packages | 1 from setuptools import setup, find_packages |
2 | |
3 try: | |
4 description = file('README.txt').read() | |
5 except IOError: | |
6 description = '' | |
2 | 7 |
3 version = "0.0" | 8 version = "0.0" |
4 | 9 |
5 setup(name=${repr(project)}, | 10 setup(name=${repr(project)}, |
6 version=version, | 11 version=version, |
7 description="${description|nothing}", | 12 description="${description|nothing}", |
8 long_description=""" | 13 long_description=description, |
9 """, | |
10 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | 14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
11 author=${repr(author)|empty}, | 15 author=${repr(author)|empty}, |
12 author_email=${repr(author_email)|empty}, | 16 author_email=${repr(author_email)|empty}, |
13 url=${repr(url)|empty}, | 17 url=${repr(url)|empty}, |
14 license=${repr(license_name)|empty}, | 18 license=${repr(license_name)|empty}, |