annotate setup.py @ 8:59245309f054 default tip

conform to modern version of lxmlmiddleware
author k0s <k0scist@gmail.com>
date Fri, 26 Feb 2010 15:40:56 -0500
parents 6c6766109dac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
1 from setuptools import setup, find_packages
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
2 import sys, os
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
3
5
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
4 # read the description from the file
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
5 try:
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
6 description = file(os.path.join(os.path.dirname(__file__), 'README.txt')).read()
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
7 except:
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
8 description = ''
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
9
8
59245309f054 conform to modern version of lxmlmiddleware
k0s <k0scist@gmail.com>
parents: 5
diff changeset
10 version = "0.3"
0
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
11
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
12 setup(name='CAPTCHAmiddleware',
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
13 version=version,
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
14 description="put CAPTCHAs on forms",
5
6c6766109dac adding README.txt and use it in setup.py long_description
k0s <k0scist@gmail.com>
parents: 4
diff changeset
15 long_description=description,
0
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
16 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
17 author='Jeff Hammel',
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
18 author_email='k0scist@gmail.com',
4
ce757057961c flow contol now works; bumping version
k0s <k0scist@gmail.com>
parents: 2
diff changeset
19 url='http://k0s.org/hg',
0
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
20 license="GPL",
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
22 include_package_data=True,
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
23 zip_safe=False,
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
24 install_requires=[
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
25 # -*- Extra requirements: -*-
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
26 'lxmlmiddleware',
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
27 'skimpygimpy'
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
28 ],
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
29 entry_points="""
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
30 # -*- Entry points: -*-
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
31 [paste.app_factory]
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
32 example-captcha = captchamiddleware.example:factory
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
33 """,
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
34 )
21ec6325ae0e initial import of CAPTCHA middleware; unfinished
k0s <k0scist@gmail.com>
parents:
diff changeset
35