#!/usr/bin/env python

from distutils.core import setup, Extension

VERSION = '1.0'
DESCRIPTION = "Fast I/O buffers for binary protocols"
LONG_DESCRIPTION = """
A buffer class similar to Java NIO ByteBuffer that is meant to be used for
network I/O that avoids creating temporary strings and from which binary data
can be directly decoded.
"""

CLASSIFIERS = filter(None, map(str.strip,
"""                 
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python
Topic :: Software Development :: Libraries :: Python Modules
""".splitlines()))

setup(
    name="hotbuf",
    version=VERSION,
    description=DESCRIPTION,
    long_description=LONG_DESCRIPTION,
    classifiers=CLASSIFIERS,
    author="Martin Blais",
    author_email="blais@furius.ca",
    url="http://furius.ca/python/hotbuf",
    license="PSF License",
    py_modules=['hotbuf'],
    ext_modules=[
        Extension("_hotbuf", ["Modules/_hotbuf.c"]),
    ],
)

