from setuptools import setup

setup(
    name="fileflow",
    description="Airflow plugin to transfer arbitrary files between operators.",
    author='Industry Dive',
    author_email='fileflow@industrydive.com',
    url='https://github.com/industrydive/fileflow',
    license='Apache License 2.0',
    zip_safe=False,
    packages=['fileflow'],
    install_requires=[
        'airflow~=1.7.0',
        'pandas==0.17.0',
        'boto~=2.38.0'
    ],
    test_suite='nose.collector',
    tests_require=['moto~=0.4.18', 'coverage~=4.2', 'nose~=1.3.7', 'mock~=1.0.1'],
    extras_require={
        'flake8': ['pyflakes==1.0.0',
                   'pep8==1.5.7',
                   'mccabe==0.3.1',
                   'flake8==2.5.1',
                   'flake8-debugger==1.4.0',
                   'pep8-naming==0.3.3']
    }
)

@@ -21,16 +21,31 @@
 rt setup
+, find_packages
 %0A%0Asetup(
@@ -344,20 +344,49 @@
 ges=
-%5B'fileflow
+find_packages(exclude=%5B'docs', 'tests*
 '%5D
+)
 ,%0A  

install all packages correctly