Skip to content

Commit 78747b2

Browse files
committed
Change version to 0.4.0, add classifiers and readme conversion from markdown to rSt
1 parent 59a992d commit 78747b2

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

setup.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
#!/usr/bin/env python
22

33
from distutils.core import setup
4+
from os import path
5+
from setuptools.command.install import install
6+
import pypandoc
47

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+
519
setup(name='hawkular-client',
620
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)',
822
author='Michael Burman',
923
author_email='miburman@redhat.com',
24+
license='Apache License 2.0',
1025
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+
],
1134
packages=['hawkular']
1235
)

0 commit comments

Comments
 (0)