#!/usr/bin/python

from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

ext_modules = [
    Extension("bitfield",
              ["cimpl/field.pyx"],
              extra_compile_args=["-g"],
              extra_link_args=["-g"],
             )
]

setup(
    name = "bitfield",
    version = "1.1",
    license = "BSD",

    description = "A Cython fast compressed number set",
    author = "Steve Stagg",
    author_email = "stestagg@gmail.com",

    url = "http://github.com/stestagg/bitfield",
    include_package_data = True,

    classifiers = [
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],

    cmdclass = {"build_ext": build_ext},
    ext_modules = ext_modules,
)
