-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
36 lines (30 loc) · 1.12 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
from distutils.core import setup
from os import path
from setuptools.command.install import install
here = path.abspath(path.dirname(__file__))
# Create rst here from Markdown
if path.exists(path.join(here, 'README.md')):
import pypandoc
z = pypandoc.convert('README.md','rst',format='markdown')
with open('README.rst','w') as outfile:
outfile.write(z)
with open(path.join(here, 'README.rst')) as f:
long_description = f.read()
setup(name='hawkular-client',
version='0.5.5',
description='Python client to communicate with Hawkular server over HTTP(S)',
author='Michael Burman',
author_email='[email protected]',
license='Apache License 2.0',
url='http://github.com/hawkular/hawkular-client-python',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: System :: Monitoring',
],
packages=['hawkular']
)