forked from netsage-project/tstat-transport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.61 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
"""
Setup file for tstat_transport distribution.
"""
import sys
from setuptools import setup
try:
# Use pandoc to convert .md -> .rst when uploading to pypi
import pypandoc
DESCRIPTION = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError, OSError):
DESCRIPTION = open('README.md').read()
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
sys.exit('Sorry, Python < 2.7 is not supported')
if sys.version_info[0] == 3 and sys.version_info[1] < 3:
sys.exit('Sorry, Python 3 < 3.3 is not supported')
setup(
name='tstat_transport',
version='0.6.5',
description='Tools to send Tstat (TCP STatistic and Analysis Tool) log data to archive servers.', # pylint: disable=line-too-long
long_description=DESCRIPTION,
author='Monte M. Goode',
author_email='[email protected]',
url='https://github.com/esnet/tstat-transport',
packages=['tstat_transport'],
scripts=[
'bin/tstat_send',
'bin/tstat_cull',
],
install_requires=[
'pika==0.10.0',
'configparser==3.5.0b2',
'six',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Telecommunications Industry',
'Environment :: Console',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet',
'Topic :: System :: Networking',
'Topic :: Software Development :: Libraries',
],
)