Mercurial > hg > webob_view
view webob_view/template/setup.py_tmpl @ 6:9aa8f5721649
add auto-creation of README files
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 24 Jan 2010 19:31:13 -0500 |
parents | 72cb6dc31e3f |
children |
line wrap: on
line source
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=description, classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers author=${repr(author)|empty}, author_email=${repr(author_email)|empty}, url=${repr(url)|empty}, license=${repr(license_name)|empty}, packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ # -*- Extra requirements: -*- 'WebOb', 'Paste', 'PasteScript', ], entry_points=""" # -*- Entry points: -*- [paste.app_factory] main = ${project}.factory:factory """, )