from distutils.core import setup

try:
    import pypandoc

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

setup(
    name='bioc',
    version='1.0.dev17',
    description='Data structures and code to read/write BioC XML.',
    long_description=long_description,
    author='Yifan Peng',
    author_email='yifan.peng@nih.gov',
    keywords=['bioc'],
    license='BSD 3-clause license',
    url='https://github.com/yfpeng/pengyifan-pybioc',
    packages=['bioc'],
    classifiers=[
        'Development Status :: 1 - Planning',
        'Environment :: Console',
        'Environment :: MacOS X',
        'Environment :: X11 Applications :: Qt',
        'Environment :: Win32 (MS Windows)',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX',
        'Operating System :: POSIX :: Linux',
        'Operating System :: Microsoft',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Text Processing :: Markup :: XML',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
    ],
)

@@ -31,13 +31,17 @@
 up%0A%0A
+# 
 try:%0A
+# 
     
@@ -56,17 +56,20 @@
 ypandoc%0A
-%0A
+#%0A# 
     long
@@ -120,16 +120,18 @@
  'rst')%0A
+# 
 except(I
@@ -152,16 +152,18 @@
 Error):%0A
+# 
     long
@@ -248,17 +248,17 @@
 1.0.dev1
-7
+9
 ',%0A    d
@@ -323,16 +323,18 @@
 L.',%0A   
+ #
  long_de

add tests