import ez_setup
ez_setup.use_setuptools()

from setuptools import setup, find_packages
from setuptools.extension import Extension

classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries",
"""License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)""",
]

setup(
    name         = "rbtree",
    author       = "Benjamin Saller",
    author_email = "bcsaller@objectrealms.net",
    url          = "http://darcs.objectrealms.net/darcsweb.cgi/rbtree",
    license      = "LGPL",
    version      = "0.7",
    platforms    = ["Python >= 2.4"],
    description  = "A fast PyRex based RBTree implementation",
    classifiers  = classifiers,
    ext_modules=[
       Extension("rbtree", ["src/rbtree_impl.c",
                            "src/rbtree.pyx"],
                 libraries = [],
                 include_dirs=['src',],
        ),
       ],
    )
