This repository was archived by the owner on Jul 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·42 lines (39 loc) · 1.35 KB
/
setup.py
File metadata and controls
executable file
·42 lines (39 loc) · 1.35 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
35
36
37
38
39
40
41
42
#!/usr/bin/env python
# Copyright (c) 2014 Cyso < development [at] cyso . com >
#
# This file is part of munin2es.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3.0 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library. If not, see
# <http://www.gnu.org/licenses/>.
from munin2es.version import NAME as PNAME, VERSION as PVERSION
from distutils.core import setup
import linecache
NAME = PNAME
VERSION = PVERSION
DESCRIPTION = linecache.getline("README.md", 4)
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
license="GPL3",
author="Nick Douma",
author_email="n.douma@nekoconeko.nl",
url="https://github.com/Cysource/munin2es",
packages=["munin2es"],
scripts=["main.py", "river.py", "doc/convert-munin-config-to-munin2es.sh"],
data_files=[
("/etc", ["debian/munin2es.config"]),
("/usr/share/doc/{0}".format(NAME), ["doc/river_example.json"]),
]
)