
from distutils.core import setup

setup(name='hawkular-client',
      version='0.4.0',
      description='Python client to communicate with Hawkular over HTTP(S)',
      author='Michael Burman',
      author_email='miburman@redhat.com',
      url='http://github.com/hawkular/hawkular-client-python',
      packages=['hawkular']
      )


from distutils.core import setup
from os import path
from setuptools.command.install import install
import pypandoc

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.md')) as f:
    long_description = f.read()

# Create rst here from Markdown
z = pypandoc.convert('README.md','rst',format='markdown')

with open('README.rst','w') as outfile:
    outfile.write(z)
    
setup(name='hawkular-client',
      version='0.4.0',
      description='Python client to communicate with Hawkular server over HTTP(S)',
      author='Michael Burman',
      author_email='miburman@redhat.com',
      license='Apache License 2.0',
      url='http://github.com/hawkular/hawkular-client-python',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: System :: Monitoring',
      ],
      packages=['hawkular']
      )

Change version to 0.4.0, add classifiers and readme conversion from markdown to rSt
Change version to 0.4.0, add classifiers and readme conversion from markdown to rSt

  
  from distutils.core import setup
+ from os import path
+ from setuptools.command.install import install
+ import pypandoc
  
+ here = path.abspath(path.dirname(__file__))
+ 
+ with open(path.join(here, 'README.md')) as f:
+     long_description = f.read()
+ 
+ # Create rst here from Markdown
+ z = pypandoc.convert('README.md','rst',format='markdown')
+ 
+ with open('README.rst','w') as outfile:
+     outfile.write(z)
+     
  setup(name='hawkular-client',
        version='0.4.0',
-       description='Python client to communicate with Hawkular over HTTP(S)',
+       description='Python client to communicate with Hawkular server over HTTP(S)',
        author='Michael Burman',
        author_email='miburman@redhat.com',
+       license='Apache License 2.0',
        url='http://github.com/hawkular/hawkular-client-python',
+       classifiers=[
+           'Development Status :: 4 - Beta',
+           'Intended Audience :: Developers',
+           'Programming Language :: Python',
+           'Programming Language :: Python :: 2',
+           'Programming Language :: Python :: 3',
+           'Topic :: System :: Monitoring',
+       ],
        packages=['hawkular']
        )
  
Change version to 0.4.0, add classifiers and readme conversion from markdown to rSt
## Code Before:

from distutils.core import setup

setup(name='hawkular-client',
      version='0.4.0',
      description='Python client to communicate with Hawkular over HTTP(S)',
      author='Michael Burman',
      author_email='miburman@redhat.com',
      url='http://github.com/hawkular/hawkular-client-python',
      packages=['hawkular']
      )

## Instruction:
Change version to 0.4.0, add classifiers and readme conversion from markdown to rSt
## Code After:

from distutils.core import setup
from os import path
from setuptools.command.install import install
import pypandoc

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.md')) as f:
    long_description = f.read()

# Create rst here from Markdown
z = pypandoc.convert('README.md','rst',format='markdown')

with open('README.rst','w') as outfile:
    outfile.write(z)
    
setup(name='hawkular-client',
      version='0.4.0',
      description='Python client to communicate with Hawkular server over HTTP(S)',
      author='Michael Burman',
      author_email='miburman@redhat.com',
      license='Apache License 2.0',
      url='http://github.com/hawkular/hawkular-client-python',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: System :: Monitoring',
      ],
      packages=['hawkular']
      )
