def read_long_description(readme_file):
    """ Read package long description from README file """
    try:
        import pypandoc
    except (__HOLE__, OSError) as e:
        print('No pypandoc or pandoc: %s' % (e,))
        if is_py3:
            fh = open(readme_file, encoding='utf-8')
        else:
            fh = open(readme_file)
        long_description = fh.read()
        fh.close()
        return long_description
    else:
        return pypandoc.convert(readme_file, 'rst')
dataset/ETHPy150Open walkr/oi/setup.py/read_long_description