2010-05-24 13:38:06 +00:00
|
|
|
# -*- Encoding: utf-8 -*-
|
2008-10-22 17:31:40 +00:00
|
|
|
###
|
2010-05-24 13:38:06 +00:00
|
|
|
# Copyright (c) 2008-2010 Terence Simpson
|
2017-05-28 00:56:04 +00:00
|
|
|
# Copyright (c) 2017- Krytarik Raido
|
2008-10-22 17:31:40 +00:00
|
|
|
#
|
2010-05-24 13:38:06 +00:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of version 2 of the GNU General Public License as
|
|
|
|
# published by the Free Software Foundation.
|
2008-10-22 17:31:40 +00:00
|
|
|
#
|
2010-05-24 13:38:06 +00:00
|
|
|
# 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.
|
2008-10-22 17:31:40 +00:00
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
"""
|
2010-01-30 07:37:28 +00:00
|
|
|
Display information on packages using apt-cache and search for files in packages with apt-file.
|
2008-10-22 17:31:40 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
import supybot
|
|
|
|
import supybot.world as world
|
2017-05-28 00:56:04 +00:00
|
|
|
from imp import reload
|
2008-10-22 17:31:40 +00:00
|
|
|
|
2018-03-09 18:56:04 +00:00
|
|
|
__version__ = "1.2.0"
|
2017-05-28 00:56:04 +00:00
|
|
|
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@tuxgarage.com")
|
2010-05-24 13:38:06 +00:00
|
|
|
__contributors__ = {
|
2017-05-28 00:56:04 +00:00
|
|
|
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Concept'],
|
|
|
|
supybot.Author("Terence Simpson", "tsimpson", "tsimpson@ubuntu.com"): ['Original Author']
|
2010-05-24 13:38:06 +00:00
|
|
|
}
|
2017-05-28 00:56:04 +00:00
|
|
|
__url__ = 'https://launchpad.net/ubuntu-bots'
|
2008-10-22 17:31:40 +00:00
|
|
|
|
2017-05-28 00:56:04 +00:00
|
|
|
from . import config
|
2009-11-26 16:39:34 +00:00
|
|
|
reload(config)
|
2017-05-28 00:56:04 +00:00
|
|
|
from . import plugin
|
2008-10-22 17:31:40 +00:00
|
|
|
reload(plugin) # In case we're being reloaded.
|
2017-05-28 00:56:04 +00:00
|
|
|
from . import packages
|
2008-10-22 17:31:40 +00:00
|
|
|
reload(packages)
|
|
|
|
# Add more reloads here if you add third-party modules and want them to be
|
|
|
|
# reloaded when this plugin is reloaded. Don't forget to import them as well!
|
|
|
|
|
|
|
|
if world.testing:
|
2017-05-28 00:56:04 +00:00
|
|
|
from . import test
|
2008-10-22 17:31:40 +00:00
|
|
|
|
|
|
|
Class = plugin.Class
|
|
|
|
configure = config.configure
|
|
|
|
|
|
|
|
|
|
|
|
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|