-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
54 lines (48 loc) · 1.63 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
import io
import os
from setuptools import setup, find_packages
import dynasynthetic
PKG_VER = dynasynthetic.__version__
def read(*filenames, **kwargs):
"""
Read files and join them for a long description.
"""
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
if os.path.isfile(filename):
with io.open(filename, encoding=encoding) as filesocket:
buf.append(filesocket.read())
return sep.join(buf)
setup(
name='py-dynasynthetic',
packages=find_packages(exclude=['tests']),
scripts=[
'check_dynasynthetic.py',
'dynasynthetic_cli.py'
],
lib='/usr/lib/python2.6/site-packages',
description='Access the Dynatrace Synthetic API',
long_description=read('README.md'),
version=PKG_VER,
url='http://github.com/micha-k/py-dynasynthetic',
download_url="http://github.com/micha-k/py-dynasynthetic/tarball/v" + PKG_VER,
license='Apache Software License',
author='micha-k',
platforms='any',
install_requires=read('requirements.txt'),
setup_requires=read('test-requirements.txt'),
classifiers=[
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords=['dynatrace', 'monitoring',
'performance', 'metric', 'dashboarddata']
)