import sys

from setuptools import setup

version = __import__('yaff').__version__

if sys.hexversion < 0x02070000:
    EXTRA_INSTALL_REQUIRES = ['backport_collections']
else:
    EXTRA_INSTALL_REQUIRES = []

setup(
    name='yaff',
    version=version,
    description='Yet Another Faield Framework',
    author='Francesco Pischedda',
    author_email='francesco.pischedda@gmail.com',
    url='https://github.com/fpischedda/yaff',
    packages=('yaff', 'yaff.conf', 'yaff.animation', 'yaff.animation.loaders',
              'yaff.utils', 'yaff.contrib', 'yaff.contrib.mixins',
              'yaff.contrib.scenes', 'yaff.scripts'),
    package_data={},
    zip_safe=False,
    include_package_data=True,
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    entry_points='''
        [console_scripts]
        yaff=yaff.scripts.yaff:cli
    ''')
    install_requires=['pyglet', 'click'] + EXTRA_INSTALL_REQUIRES,
    classifiers=[
        'Development Status :: Alpha/Unstable',
        'Environment :: Gaming',
        'Framework :: pyglet',