Mercurial > hg > CAPTCHAmiddleware
comparison setup.py @ 5:6c6766109dac
adding README.txt and use it in setup.py long_description
author | k0s <k0scist@gmail.com> |
---|---|
date | Wed, 24 Feb 2010 20:21:47 -0500 |
parents | ce757057961c |
children | 59245309f054 |
comparison
equal
deleted
inserted
replaced
4:ce757057961c | 5:6c6766109dac |
---|---|
1 from setuptools import setup, find_packages | 1 from setuptools import setup, find_packages |
2 import sys, os | 2 import sys, os |
3 | |
4 # read the description from the file | |
5 try: | |
6 description = file(os.path.join(os.path.dirname(__file__), 'README.txt')).read() | |
7 except: | |
8 description = '' | |
3 | 9 |
4 version = "0.2" | 10 version = "0.2" |
5 | 11 |
6 setup(name='CAPTCHAmiddleware', | 12 setup(name='CAPTCHAmiddleware', |
7 version=version, | 13 version=version, |
8 description="put CAPTCHAs on forms", | 14 description="put CAPTCHAs on forms", |
9 long_description=""" | 15 long_description=description, |
10 """, | |
11 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | 16 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
12 author='Jeff Hammel', | 17 author='Jeff Hammel', |
13 author_email='k0scist@gmail.com', | 18 author_email='k0scist@gmail.com', |
14 url='http://k0s.org/hg', | 19 url='http://k0s.org/hg', |
15 license="GPL", | 20 license="GPL", |