forked from orionvm/potsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (31 loc) · 1.15 KB
/
Copy pathsetup.py
File metadata and controls
34 lines (31 loc) · 1.15 KB
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
from setuptools import setup, find_packages
from potsdb import __version__
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
if __name__ == '__main__':
project_name = "potsdb"
setup(
name=project_name,
version=__version__,
author="Alex Sharp, Chris McClymont",
author_email="alex.sharp@orionvm.com",
description=("A Python client for OpenTSDB which creates a separate "
"thread for TCP communication."),
license="GNU GPL",
keywords="opentsdb, tsdb, time series",
url="http://github.com/orionvm/potsdb",
packages=find_packages(),
long_description=read_md('README.md'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: Unix",
"Topic :: Utilities",
],
test_suite=project_name + '.tests',
)