-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
64 lines (60 loc) · 2.42 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
55
56
57
58
59
60
61
62
63
64
from setuptools import setup
import re
from glob import glob
def get_version():
VERSIONFILE="src/warden/__init__.py"
initfile_lines = open(VERSIONFILE, "rt").readlines()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
for line in initfile_lines:
mo = re.search(VSRE, line, re.M)
if mo:
return mo.group(1)
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
def check_fault_requires():
pass
setup(
name = 'warden',
version = get_version(),
license = 'MIT',
description = 'A set of tools for monitoring Python applications, and shipping events to Sentry and metrics to Graphite',
long_description = \
"""
Warden is a Python application that monitors other Python applications running locally, and ships events to a Sentry instance and metrics to a Graphite instance.
Warden uses Diamond to collect stats. Using Diamond's plug-in Collectors architecture, many stats can be collected and custom Collectors added.
""",
author = 'Richard Graham',
author_email = '[email protected]',
packages = ['warden', 'warden.smtp_forwarder'],
package_dir={'' : 'src'},
data_files=[ ('conf', glob('conf/*.example')) ],
zip_safe = False,
install_requires = [
'carbon==0.9.10-warden',
'gentry==0.0.1',
'diamond'],
dependency_links = [
'https://github.com/richg/gentry/tarball/master#egg=gentry-0.0.1',
'https://github.com/richg/carbon/tarball/0.9.x-warden#egg=carbon-0.9.10-warden',
'https://github.com/richg/Diamond/tarball/master#egg=diamond'
],
keywords = 'sentry carbon graphite monitoring',
url = 'https://github.com/richg/warden',
entry_points = {
'console_scripts': [
'warden = warden.WardenServer:main',
'warden_setup = warden.warden_setup:main'
]
},
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Environment :: Web Environment',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: System :: Monitoring',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)