#!/usr/bin/env python

from setuptools import Extension
from setuptools import find_packages
from setuptools import setup

__version__ = '0.3.0'

pyasmjit_module = Extension(
    'pyasmjit.pyasmjit',
    sources      = [
        'pyasmjit/pyasmjit.c'
    ],
)

setup(
    name         = 'pyasmjit',
    author       = '<NAME>',
    author_email = '<EMAIL>',
    description  = 'JIT assemby code generation and execution',
    download_url = 'https://github.com/programa-stic/pyasmjit/tarball/v0.3.0',
    install_requires = [
        'future',
    ],
    license      = 'BSD 2-Clause',
    url          = 'http://github.com/programa-stic/pyasmjit',
    version      = __version__,
    classifiers  = [
        'Development Status :: 2 - Pre-Alpha',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: C',
        'Topic :: Software Development :: Assemblers',
    ],
    ext_modules  = [
        pyasmjit_module,
    ],
    packages=find_packages(exclude=['tests', 'tests.*']),
    test_suite   = 'tests',
)
