#!/usr/bin/env python

import os
from setuptools import setup


with open('README.rst', 'r') as f:
    readme = f.read()


def get_packages(package):
    return [
        dirpath for dirpath, dirnames, filenames in os.walk(package)
        if os.path.exists(os.path.join(dirpath, '__init__.py'))
    ]


setup(
    name='django-templated-mail',
    version='1.1.1',
    packages=get_packages('templated_mail'),
    license='MIT',
    author='Sunscrapers',
    description='Send emails using Django template system.',
    author_email='info@sunscrapers.com',
    long_description=readme,
    install_requires=[],
    include_package_data=True,
    url='https://github.com/sunscrapers/django-templated-mail',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: Django :: 1.11',
        'Framework :: Django :: 2.0',
        'Framework :: Django :: 2.1',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ]
)
