#!/usr/bin/env python

from DistUtilsExtra import auto

from epour import __version__


class sdist_auto(auto.sdist_auto):
    filter_suffix = ['.pyc', '.mo', '~', '.swp', '-workspace', '-project']

auto.setup(
    name='epour',
    version=__version__,
    author='Kai Huuhko',
    author_email='kai.huuhko@gmail.com',
    maintainer='Kai Huuhko',
    maintainer_email='kai.huuhko@gmail.com',
    description='A BitTorrent client',
    long_description=(
        'Epour is a BitTorrent client based on EFL and rb-libtorrent.'
        ),
    url='https://phab.enlightenment.org/w/projects/epour/',
    download_url='http://enlightenment.org/p.php?p=download',
    license='GNU GPL',
    platforms='linux',
    requires=[
        'libtorrent',
        'efl',
        'xdg',
        'dbus',
    ],
    provides=[
        'epour',
    ],
    cmdclass={
        'sdist': sdist_auto
    }
)
