# This file is part of fedimg.
# Copyright (C) 2014-2018 Red Hat, Inc.
#
# fedimg is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# fedimg is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with fedimg; if not, see http://www.gnu.org/licenses,
# or write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# Authors:  David Gay <dgay@redhat.com>
#           Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
#

from setuptools import setup, find_packages

setup(
    name='fedimg',
    version='2.4.0',
    description='Automatically upload Fedora Cloud images to cloud providers',
    classifiers=[
        "Programming Language :: Python :: 2.7",
        "License :: OSI Approved :: GNU Affero General Public License"
        " v3 or later (AGPLv3+)",
    ],
    keywords='python Fedora cloud image uploader service',
    author='Fedora Infrastructure Team',
    author_email='infrastructure@lists.fedoraproject.org',
    url='https://github.com/fedora-infra/fedimg',
    license='AGPLv3+',
    include_package_data=True,
    zip_safe=False,
    setup_requires=[
        'pytest-runner',
    ],
    install_requires=[
        'fedmsg',
        'fedfind',
        'apache-libcloud',
        'paramiko',
        'toml'
    ],
    tests_require=[
        'flake8',
        'pytest',
        'pytest-cov',
        'mock',
        'vcrpy'
    ],
    packages=find_packages(),
    entry_points="""
    [moksha.consumer]
    fedimgconsumer.prod = fedimg.consumers:FedimgConsumer
    fedimgconsumer.stg = fedimg.consumers:FedimgStagingConsumer
    fedimgconsumer.dev = fedimg.consumers:FedimgDevConsumer
    """,
)
