# -*- encoding: utf-8 -*-

from setuptools import setup

description = """
Simple, powerfull and nonobstructive django email middleware.
"""

setup(
    name="djmail",
    url="https://github.com/niwibe/djmail",
    author="Andrey Antukh",
    author_email="niwi@niwi.be",
    version="0.8",
    packages=[
        "djmail",
        "djmail.backends",
        "djmail.management",
        "djmail.management.commands",
    ],
    description=description.strip(),
    zip_safe=False,
    include_package_data=True,
    package_data={
        "": ["*.html"],
    },
    classifiers=[
        # "Development Status :: 5 - Production/Stable",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Environment :: Web Environment",
        "Framework :: Django",
        "License :: OSI Approved :: BSD License",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Topic :: Software Development :: Libraries",
        "Topic :: Utilities",
    ],
)

@@ -42,16 +42,31 @@
 s import
+ find_packages,
  setup%0A%0A
@@ -317,127 +317,42 @@
 ges=
-%5B%0A        %22djmail%22,%0A        %22djmail.backends%22,%0A        %22djmail.management%22,%0A        %22djmail.management.commands%22,%0A    %5D
+find_packages(include=%5B'djmail*'%5D)
 ,%0A  

Replace hardcoded packages by find_packages