-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-el.py
64 lines (63 loc) · 2.16 KB
/
setup-el.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
#! /usr/bin/env python
# -*- encoding: utf-8 -*-
# This file is part of PYAP.
# Copyright 2016 fccagou <[email protected]>
#
# PYAP is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PYAP 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 General Public
# License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pyap. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
setup(name='pyap',
version='0.6.0',
description='PYthon Alert Processor',
url='http://github.com/fccagou/pyap',
author='fccagou',
author_email='[email protected]',
license='GPLv3+',
long_description="PYthon Alert Processor (or P..... Y'A Personne) is a little tool used to process alert sent by differents ways.",
scripts=[
'bin/pyap'
],
packages=[
'pyap',
'blink1',
'db9'
],
package_data= {
'usb': [
'backend/__init__.py',
'backend/libusb0.py',
'backend/libusb1.py',
'backend/openusb.py',
]
},
data_files=[
('share/doc/pyap',[
'doc/README.md',
'doc/LICENSE.md',
'doc/LICENSE-EXTERNAL.md',
'data/nagios2json.php',
'data/pyap.sysconfig',
'data/51-blink1.rules',
'tests/test.conf'
]
),
('share/doc/pyap/samples/status',[
'tests/status/n1',
'tests/status/n2',
]
),
('/etc/pyap/pyap.conf.sample', ['data/pyap.conf']),
('/etc/init.d',['data/etc/init.d/pyap']),
('/etc/pyap/html/css', ['data/html/css/style.css']),
],
)