import sys

from setuptools import setup


cffi_modules = [
    'cffi_builders/jpg_c_build.py:ffi',
    'cffi_builders/png_c_build.py:ffi',
    'cffi_builders/sdl_c_build.py:ffi',
    'cffi_builders/sdl_keys_c_build.py:ffi',
]


if sys.platform.startswith("darwin"):
    # If we're on Mac OS X, we need extra stuff.
    cffi_modules.append('cffi_builders/macosx_c_build.py:ffi')


setup(
    name="pygame_cffi",
    version="0.2.0",
    url='http://github.com/CTPUG/pygame_cffi',
    license='LGPL-2.1+',
    description="A cffi-based SDL wrapper that copies the pygame API.",
    long_description=open('README.md', 'r').read(),
    packages=['pygame'],
    include_package_data=True,
    scripts=[
    ],
    setup_requires=[
        'cffi>=1.3.0',
    ],
    cffi_modules=cffi_modules,
    install_requires=[
        'cffi>=1.3.0',
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)
