Move files under module dir

This commit is contained in:
Andrew Morgan 2020-08-06 13:16:57 -07:00 committed by Andrew Morgan
parent ecf74c50b8
commit 232258e8a0
9 changed files with 16 additions and 11 deletions

View file

@ -0,0 +1,8 @@
import sys
# Check that we're not running on an unsupported Python version.
if sys.version_info < (3, 5):
print("matrix_reminder_bot requires Python 3.5 or above.")
sys.exit(1)
__version__ = "0.0.1"

View file

@ -1,4 +1,4 @@
from chat_functions import send_text_to_room
from my_project_name.chat_functions import send_text_to_room
class Command(object):

View file

@ -1,11 +1,8 @@
from chat_functions import (
send_text_to_room,
)
from bot_commands import Command
from my_project_name.bot_commands import Command
from nio import (
JoinError,
)
from message_responses import Message
from my_project_name.message_responses import Message
import logging
logger = logging.getLogger(__name__)

View file

@ -4,7 +4,7 @@ import os
import yaml
import sys
from typing import List, Any
from errors import ConfigError
from my_project_name.errors import ConfigError
logger = logging.getLogger()

View file

@ -16,9 +16,9 @@ from aiohttp import (
ServerDisconnectedError,
ClientConnectionError
)
from callbacks import Callbacks
from config import Config
from storage import Storage
from my_project_name.callbacks import Callbacks
from my_project_name.config import Config
from my_project_name.storage import Storage
logger = logging.getLogger(__name__)

View file

@ -1,4 +1,4 @@
from chat_functions import send_text_to_room
from my_project_name.chat_functions import send_text_to_room
import logging
logger = logging.getLogger(__name__)