diff options
author | Sebastian Deiss <sebastian.deiss@atos.net> | 2017-05-23 10:25:12 +0200 |
---|---|---|
committer | Sebastian Deiss <sebastian.deiss@atos.net> | 2017-05-23 10:25:12 +0200 |
commit | 6dc0dbb6fc0f59b454d6f384f348d4a8634b6d06 (patch) | |
tree | 701434c0c52858ab3d982a34f23e9856f31e72f4 /peekaboo_debug.py | |
parent | 620029ce7cd4668655f06b995bd565f7dd70c993 (diff) |
Import from our internal VCS
Diffstat (limited to 'peekaboo_debug.py')
-rwxr-xr-x | peekaboo_debug.py | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/peekaboo_debug.py b/peekaboo_debug.py new file mode 100755 index 0000000..9ad3d7e --- /dev/null +++ b/peekaboo_debug.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python + +############################################################################### +# # +# Peekaboo Extended Email Attachment Behavior Observation Owl # +# # +# peekaboo_debug.py # +############################################################################### +# # +# Copyright (C) 2016-2017 science + computing ag # +# # +# This program 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. # +# # +# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. # +# # +############################################################################### + + +""" +This script runs Peekaboo from the console without installing it. +It should only be used for debugging or development. +""" + + +import sys +import os + + +# Add peekaboo to PYTHONPATH +sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + +# Import the daemon +from peekaboo import peekabood + + +if __name__ == '__main__': + peekabood.main() |