from paver.easy import task, needs
from paver.setuputils import setup, install_distutils_tasks

import version


setup(name='clang_helpers',
      version=version.getVersion(),
      description='High-level API using `clang` module to provide static C++ '
      'class introspection.',
      keywords='c++ clang introspection',
      author='Christian Fobel',
      url='https://github.com/wheeler-microfluidics/clang_helpers',
      license='GPL',
      packages=['clang_helpers', ])


@task
@needs('generate_setup', 'minilib', 'setuptools.command.sdist')
def sdist():
    """Overrides sdist to make sure that our setup.py is generated."""
    pass
