From 332567a81a827f17885de0981f94dcc0428b98ca Mon Sep 17 00:00:00 2001 From: Matt Donders Date: Sun, 27 Oct 2019 23:49:59 -0400 Subject: [PATCH] Removes underlying issue with #14 due to RPi having import issues (starts by removing unused imports). --- .gitignore | 4 ++++ hockeygamebot/core/images.py | 12 ++++++------ hockeygamebot/requirements.txt | 9 +++------ 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 93b68f5..17ef22b 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,10 @@ env/ .coverage config.yaml +# V1 Files (Ignoring After V2) +hockey_twitter_bot.py +nhl_game_events.py + ############################################# # Github Python Default .gitignore diff --git a/hockeygamebot/core/images.py b/hockeygamebot/core/images.py index 3704698..946a42c 100644 --- a/hockeygamebot/core/images.py +++ b/hockeygamebot/core/images.py @@ -2,12 +2,12 @@ import os from enum import Enum -import numpy as np -import pandas as pd -import matplotlib -matplotlib.use('TkAgg') -import matplotlib.pyplot as plt -from PIL import Image, ImageColor, ImageDraw, ImageFont, ImageOps +# import numpy as np +# import pandas as pd +# import matplotlib +# matplotlib.use('TkAgg') +# import matplotlib.pyplot as plt +from PIL import Image, ImageDraw, ImageFont from hockeygamebot.definitions import IMAGES_PATH, PROJECT_ROOT from hockeygamebot.helpers import utils diff --git a/hockeygamebot/requirements.txt b/hockeygamebot/requirements.txt index a743eb2..2cead03 100644 --- a/hockeygamebot/requirements.txt +++ b/hockeygamebot/requirements.txt @@ -1,11 +1,8 @@ tweepy==3.7.0 -matplotlib==3.0.0 fake_useragent==0.1.11 requests==2.22.0 pytz==2018.3 -pandas==0.22.0 -numpy==1.15.4 -Pillow==6.2.0 -beautifulsoup4==4.8.0 +Pillow==6.2.1 +beautifulsoup4==4.8.1 python_dateutil==2.8.0 -PyYAML==5.1.2 +PyYAML==5.1.2 \ No newline at end of file