from setuptools import setup

try:
    import pypandoc
    long_description = pypandoc.convert_file('README.md', 'rst')
except(IOError, ImportError):
    long_description = open('README.md').read()

if __name__ == "__main__":
    setup(
        packages=['kiwi'],
        package_dir={'': 'src'},
        long_description=long_description,
    )