-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
28 lines (25 loc) · 914 Bytes
/
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
#!/usr/bin/env python
from distutils.core import setup
exec(open('src/_version.py').read())
name = 'newrhelic'
version = __version__
data_files=[
('/etc',['conf/newrhelic.conf']),
('/usr/share/doc/%s-%s'% (name, version), ['doc/README','doc/LICENSE']),
('/etc/rc.d/init.d', ['scripts/newrhelic-plugin'])
]
setup(
name=name,
version=version,
description='RHEL/CentOS monitoring plugin for New Relic',
author='Jamie Duncan',
author_email='[email protected]',
url='https://github.com/jduncan-rva/newRHELic',
maintainer='Jamie Duncan',
maintainer_email = '[email protected]',
long_description='A RHEL 6/CentOS 6-specific monitoring plugin for New Relic (http://www.newrelic.com)',
packages = ['newrhelic.plugins','newrhelic'],
package_dir={'newrhelic': 'src','plugins':'src/plugins'},
scripts = ['scripts/newrhelic'],
data_files = data_files,
)