-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·38 lines (35 loc) · 1.61 KB
/
setup.py
File metadata and controls
executable file
·38 lines (35 loc) · 1.61 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# This file is part of plog.
#
# plog 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.
#
# plog 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 plog. If not, see <http://www.gnu.org/licenses/>.
#
import plog
from distutils.core import setup
setup(name='plog', version=plog.VERSION,
description='python log utlities',
author='Claes Nästén', author_email='claes.nasten@freecode.no',
url='https://projects.freecode.no/projects/show/plog',
packages=['plog', 'plog.file2log', 'plog.file_parsers',
'plog.frontend', 'plog.frontend.controllers', 'plog.log2db'],
package_dir={'plog.frontend': 'plog/frontend'},
package_data={'plog.frontend': ['templates/*.mako',
'static/css/*.css',
'static/css/images/*.png',
'static/js/*.js',
'static/img/*.png']},
scripts=['scripts/file2log', 'scripts/log2db'],
data_files=[('sql', ['data/sql/mysql_init.sql']),
('/etc', ['data/plog.cfg']),
('/etc/init.d', ['data/init/file2log', 'data/init/log2db'])],
)