From 560056dd1e0f1bfa54e0dea4a64755a3dc67e470 Mon Sep 17 00:00:00 2001 From: Fotoente Date: Sun, 20 Feb 2022 14:01:06 +0100 Subject: [PATCH] Put requirements in README.md --- .gitignore | 2 +- README.md | 8 ++++++++ miceco.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 90162ed..148c258 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ emojicount.cfg miceco.cfg -.idea \ No newline at end of file +.idea diff --git a/README.md b/README.md index f3c23b3..6f05f0e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ This little script counts custom emojis and used reactions from the previous day Clone the repository into a folder of your choice with `git clone https://github.com/fotoente/MiCECo.git` Edit the file `example-miceco.cfg` (see table below) and save it as `miceco.cfg` +Install following Python packages via `pip install` +``` +emoji +python-dateutil +``` + +or use `pip install -r requirements.txt` in the cloned folder + You are now ready to run the script with any Python3 version. I recommend using a cronjob to let it run on a daily basis. diff --git a/miceco.py b/miceco.py index 95118f7..7085bdf 100644 --- a/miceco.py +++ b/miceco.py @@ -3,7 +3,7 @@ import os import re import sys from datetime import * -import dateutil.relativedelta +# import dateutil.relativedelta import requests import emoji as emojilib