#!/usr/bin/python
from distutils.core import setup, Extension

VERSION = "1.1"

setup(name="python-bz2",
      version = VERSION,
      description = "Python interface to bz2 library",
      author = "Gustavo Niemeyer",
      author_email = "niemeyer@conectiva.com",
      license = "LGPL/PSF",
      url = "http://python-bz2.sf.net",
      long_description = \
"""\
Python interface to bz2 library.
""",
      ext_modules = [Extension("bz2",
      			       ["bz2.c"],
			       libraries=["bz2"],
			       define_macros=[("VERSION", '"%s"'%VERSION)])],
      )
