# Path: neubot/utils_hier.py
# ROOTDIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
#     ROOTDIR = os.path.dirname(ROOTDIR)
#     WWWDIR = os.sep.join([ROOTDIR, 'neubot', 'www'])
#     WWWDIR = os.sep.join([ROOTDIR, 'www'])
# BASEDIR = os.path.dirname(ROOTDIR)
# VERSIONDIR = ROOTDIR
#         OPENSSL = '/bin/openssl'
#         OPENSSL = '/usr/bin/openssl'
#         OPENSSL = None
#     OPENSSL = os.sep.join([VERSIONDIR, 'openssl.exe'])
#         OPENSSL = None
#     SYSCONFDIR = '@SYSCONFDIR@'
#         SYSCONFDIR = '/etc'
#     SYSCONFDIR = os.sep.join([os.environ['APPDATA'], 'neubot']) 
#     LOCALSTATEDIR = '@LOCALSTATEDIR@'
#         LOCALSTATEDIR = '/var'
#     LOCALSTATEDIR = os.sep.join([os.environ['APPDATA'], 'neubot']) 
# DATABASEPATH = os.sep.join([LOCALSTATEDIR, 'database.sqlite3'])
# APIFILEPATH = os.sep.join([SYSCONFDIR, 'api'])
# def main(args):


import logging
import os
import sys
from neubot import utils_hier
# This file is part of Neubot <http://www.neubot.org/>.
#
# Neubot 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.
#
# Neubot 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 Neubot.  If not, see <http://www.gnu.org/licenses/>.
#

""" Utils for loading tests as modules """

#
# Python3-ready: yes
#


if __name__ == "__main__":
    sys.path.insert(0, ".")


def modprobe(filter, context, message):
    """ Probe all modules """


# Path: neubot/utils_hier.py
# ROOTDIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
#     ROOTDIR = os.path.dirname(ROOTDIR)
#     WWWDIR = os.sep.join([ROOTDIR, 'neubot', 'www'])
#     WWWDIR = os.sep.join([ROOTDIR, 'www'])
# BASEDIR = os.path.dirname(ROOTDIR)
# VERSIONDIR = ROOTDIR
#         OPENSSL = '/bin/openssl'
#         OPENSSL = '/usr/bin/openssl'
#         OPENSSL = None
#     OPENSSL = os.sep.join([VERSIONDIR, 'openssl.exe'])
#         OPENSSL = None
#     SYSCONFDIR = '@SYSCONFDIR@'
#         SYSCONFDIR = '/etc'
#     SYSCONFDIR = os.sep.join([os.environ['APPDATA'], 'neubot']) 
#     LOCALSTATEDIR = '@LOCALSTATEDIR@'
#         LOCALSTATEDIR = '/var'
#     LOCALSTATEDIR = os.sep.join([os.environ['APPDATA'], 'neubot']) 
# DATABASEPATH = os.sep.join([LOCALSTATEDIR, 'database.sqlite3'])
# APIFILEPATH = os.sep.join([SYSCONFDIR, 'api'])
# def main(args):


# Path: neubot/utils_modules.py
import logging
import os
import sys
from neubot import utils_hier

# This file is part of Neubot <http://www.neubot.org/>.
#
# Neubot 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.
#
# Neubot 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 Neubot.  If not, see <http://www.gnu.org/licenses/>.
#

""" Utils for loading tests as modules """

#
# Python3-ready: yes
#


if __name__ == "__main__":
    sys.path.insert(0, ".")


def modprobe(filter, context, message):
    """ Probe all modules """


    rootdir = utils_hier.ROOTDIR