#!/usr/bin/env python
from setuptools import setup, find_packages

requirements = ['Django>=1.7.0', ]

try:
    from unittest import mock
except ImportError:
    requirements.append('mock')

setup(
    name="django-doberman",
    version="0.5.9",
    author="Nicolas Mendoza",
    author_email="niccolasmendoza@gmail.com",
    maintainer='Nicolas Mendoza',
    maintainer_email='niccolasmendoza@gmail.com',
    description="Django app that locks out users after too many failed login attempts.",
    long_description=open('README.rst').read(),
    license="MIT License",
    keywords="django locks users account login attempts banned ip doberman authentication",
    url="https://github.com/nicchub/django-doberman",
    packages=[
        'doberman/', 'doberman/contrib', 'doberman/migrations/', 'doberman/templates/', 'doberman/contrib/captcha/',
    ],
    include_package_data=True,
    tests_require=['python-coveralls'],

    install_requires=requirements,

    classifiers=[
        "Development Status :: 1 - Planning",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.2",
        "Framework :: Django",
        "Framework :: Django :: 1.7",
        "Framework :: Django :: 1.8",
        "Topic :: Software Development",
        "Topic :: Software Development :: Libraries"
    ]
)