from setuptools import setup

with open('README.md') as f:
    long_description = f.read()

setup(
    name='sed_vis',
    version='0.1',
    description='Visualization tools for sound event detection research.',
    author='Toni Heittola',
    author_email='toni.heittola@gmail.com',
    url='https://github.com/TUT-ARG/sed_vis/',
    packages=['sed_vis'],
    long_description=long_description,
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        'Development Status :: 5 - Production/Stable',
        "Intended Audience :: Developers",
        "Topic :: Multimedia :: Sound/Audio :: Analysis",
        "Programming Language :: Python :: 2.7",
    ],
    keywords=['audio analysis', 'sound event detection', 'dsp'],
    license='MIT',
    install_requires=[
        'numpy >= 1.7.0',
        'scipy >= 0.9.0',
        'matplotlib >= 1.4.0',
        'pyaudio >= 0.2.7',
    ],
)

@@ -27,35 +27,122 @@
 up%0A%0A
-with open('README.md') as f
+try:%0A    import pypandoc%0A    long_description = pypandoc.convert('README.md', 'rst')%0Aexcept (IOError, ImportError)
 :%0A  
@@ -162,17 +162,33 @@
 ption = 
-f
+open('README.md')
 .read()%0A
@@ -215,16 +215,16 @@
 d_vis',%0A
-
     vers
@@ -231,16 +231,18 @@
 ion='0.1
+.1
 ',%0A    d

Increase version