|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | 3 | from distutils.core import setup |
| 4 | +from os import path |
| 5 | +from setuptools.command.install import install |
| 6 | +import pypandoc |
4 | 7 |
|
| 8 | +here = path.abspath(path.dirname(__file__)) |
| 9 | + |
| 10 | +with open(path.join(here, 'README.md')) as f: |
| 11 | + long_description = f.read() |
| 12 | + |
| 13 | +# Create rst here from Markdown |
| 14 | +z = pypandoc.convert('README.md','rst',format='markdown') |
| 15 | + |
| 16 | +with open('README.rst','w') as outfile: |
| 17 | + outfile.write(z) |
| 18 | + |
5 | 19 | setup(name='hawkular-client', |
6 | 20 | version='0.4.0', |
7 | | - description='Python client to communicate with Hawkular over HTTP(S)', |
| 21 | + description='Python client to communicate with Hawkular server over HTTP(S)', |
8 | 22 | author='Michael Burman', |
9 | 23 | author_email='miburman@redhat.com', |
| 24 | + license='Apache License 2.0', |
10 | 25 | url='http://github.com/hawkular/hawkular-client-python', |
| 26 | + classifiers=[ |
| 27 | + 'Development Status :: 4 - Beta', |
| 28 | + 'Intended Audience :: Developers', |
| 29 | + 'Programming Language :: Python', |
| 30 | + 'Programming Language :: Python :: 2', |
| 31 | + 'Programming Language :: Python :: 3', |
| 32 | + 'Topic :: System :: Monitoring', |
| 33 | + ], |
11 | 34 | packages=['hawkular'] |
12 | 35 | ) |
0 commit comments