tw2.captcha / setup.py

The default branch has multiple heads

from setuptools import setup, find_packages

f = open('README.rst')
long_description = f.read().strip()
long_description = long_description.split('split here', 1)[1]
f.close()

install_requires=[
    "tw2.core",
]

import sys
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
    install_requires.extend([
        "ordereddict",
    ])

setup(
    name='tw2.captcha',
    version='0.0.3',
    description='toscawidgets2 captcha plugin',
    long_description=long_description,
    author='Ralph Bean',
    author_email='rbean@redhat.com',
    url='http://github.com/toscawidgets/tw2.captcha',
    install_requires=[
        "tw2.core",
        "pycrypto",
        "PIL",
    ],
    packages=find_packages(exclude=['ez_setup']),
    namespace_packages = ['tw2'],
    zip_safe=False,
    include_package_data=True,
    entry_points="""
        [tw2.widgets]
            # Register your widgets so they can be listed in the WidgetBrowser
            tw2.captcha = tw2.captcha
        [tw2.captcha.jpeg_generators]
            mcdermott = tw2.captcha.plugins.image.mcdermott:generate_jpeg
            vanasco_dowty = tw2.captcha.plugins.image.vanasco_dowty:generate_jpeg
            fred = tw2.captcha.plugins.image.fred:generate_jpeg
        [tw2.captcha.text_generators]
            random_ascii = tw2.captcha.plugins.text.random_ascii:generate_text
            random_equation = tw2.captcha.plugins.text.random_equation:generate_text
            fivelettername = tw2.captcha.plugins.text.fivelettername:generate_text
    """,
    keywords = [
        'toscawidgets.widgets',
    ],
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Environment :: Web Environment :: ToscaWidgets',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Software Development :: Widget Sets',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.