diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..ebbaf6c --- /dev/null +++ b/__init__.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# __init__.py +# +# Copyright 2015 GOLDERWEB – Jonathan Golder +# +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. +# +# +""" +Scripts for our redundances bot +""" + +from redundances import mysqlred, redpage, redfam diff --git a/redfam.py b/redfam.py index 5119a38..a183431 100644 --- a/redfam.py +++ b/redfam.py @@ -32,7 +32,7 @@ from datetime import datetime import pywikibot -from mysqlred import MysqlRedFam +from .mysqlred import MysqlRedFam class RedFam: diff --git a/redpage.py b/redpage.py index 0f4d8fe..1ecd6e7 100644 --- a/redpage.py +++ b/redpage.py @@ -27,8 +27,8 @@ Provides a class for handling redundance discussion pages and archives import pywikibot # noqa -from mysqlred import MysqlRedPage -from redfam import RedFamParser +from .mysqlred import MysqlRedPage +from .redfam import RedFamParser class RedPage: