From a9058f9c74361a57a5817ae1e105878f415e5ad4 Mon Sep 17 00:00:00 2001 From: Markus Bong <2Fake1987@gmail.com> Date: Tue, 8 Dec 2020 14:56:29 +0100 Subject: [PATCH 1/2] use requirements.txt to install requirements --- README.md | 4 +--- requirements.txt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index eedeec1..28d9c6a 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,7 @@ If you are using the scripts on a different Fritz!Box model please let me know b 1. Pre-requesites for the fritzbox\_traffic and fritzbox\_uptime plugins are the [fritzconnection](https://pypi.python.org/pypi/fritzconnection) and [requests](https://pypi.python.org/pypi/requests) package. To install it - pip install fritzconnection - pip install lxml - pip install requests + pip install -r requirements.txt fritzconnection requires python3. Make shure python --version is >= 3.6. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0788e19 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +fritzconnection +lxml +requests \ No newline at end of file From 8ce50dfeb6fea45a045f9f2300782f560b6bc909 Mon Sep 17 00:00:00 2001 From: Markus Bong <2Fake1987@gmail.com> Date: Tue, 8 Dec 2020 15:04:23 +0100 Subject: [PATCH 2/2] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28d9c6a..dc0fcfc 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ If you are using the scripts on a different Fritz!Box model please let me know b pip install -r requirements.txt - fritzconnection requires python3. Make shure python --version is >= 3.6. + fritzconnection requires python3. Make sure python --version is >= 3.6. 2. Make sure the FritzBox has UPnP status information enabled. (German interface: Heimnetz > Heimnetzübersicht > Netzwerkeinstellungen > Statusinformationen über UPnP übertragen)