From 2992d5f726b7f160abc0a1b5754adf28b0422f0f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 10 Mar 2020 22:50:33 +0100 Subject: [PATCH] List of dependencies for qrcode plugin should also include numpy --- platypush/plugins/qrcode.py | 1 + requirements.txt | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platypush/plugins/qrcode.py b/platypush/plugins/qrcode.py index 6a31f0ef..cf11ace3 100644 --- a/platypush/plugins/qrcode.py +++ b/platypush/plugins/qrcode.py @@ -23,6 +23,7 @@ class QrcodePlugin(Plugin): Requires: + * **numpy** (``pip install numpy``). * **qrcode** (``pip install 'qrcode[pil]'``) for QR generation. * **pyzbar** (``pip install pyzbar``) for decoding code from images. * **Pillow** (``pip install Pillow``) for image management. diff --git a/requirements.txt b/requirements.txt index a7678af5..daa85181 100644 --- a/requirements.txt +++ b/requirements.txt @@ -248,6 +248,7 @@ croniter # linode_api4 # Support for QR codes +# numpy # qrcode # Pillow # pyzbar diff --git a/setup.py b/setup.py index f2f11a3e..4fc727f1 100755 --- a/setup.py +++ b/setup.py @@ -294,6 +294,6 @@ setup( # Support for Linode integration 'linode': ['linode_api4'], # Support for QR codes - 'qrcode': ['qrcode[pil]', 'Pillow', 'pyzbar'], + 'qrcode': ['numpy','qrcode[pil]', 'Pillow', 'pyzbar'], }, )