aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-26 11:00:39 +0000
committerng0 <ng0@n0.is>2019-02-26 11:00:39 +0000
commit104d94ff02c4ee338d47bc9a51fb41ffb947a351 (patch)
tree6ce59ac595fcc0de72382371e897e52a0bba9aec /src
parentec2d7fe4eb37440a3e9539341d41a283feda8798 (diff)
downloadgnunet-104d94ff02c4ee338d47bc9a51fb41ffb947a351.tar.gz
gnunet-104d94ff02c4ee338d47bc9a51fb41ffb947a351.zip
gnunet-qr.py: More verbose information about required packages
Diffstat (limited to 'src')
-rwxr-xr-xsrc/util/gnunet-qr.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/gnunet-qr.py b/src/util/gnunet-qr.py
index c0518854d..88fb4fc50 100755
--- a/src/util/gnunet-qr.py
+++ b/src/util/gnunet-qr.py
@@ -4,6 +4,8 @@ try:
4 from builtins import str 4 from builtins import str
5except ImportError as e: 5except ImportError as e:
6 print('Cannot import future modules, python2.7 future module required!') 6 print('Cannot import future modules, python2.7 future module required!')
7 print('For Debian, you can obtain is as "python-future".')
8 print('Upstream: https://python-future.org/')
7 sys.exit(1) 9 sys.exit(1)
8import getopt 10import getopt
9import subprocess 11import subprocess
@@ -11,7 +13,9 @@ from sys import argv
11try: 13try:
12 import zbar 14 import zbar
13except ImportError as e: 15except ImportError as e:
14 print('Cannot run gnunet-qr, please install zbar-python') 16 print('Cannot run gnunet-qr, please install the zbar module.')
17 print('For Debian, you can obtain it as "python-zbar".')
18 print('Upstream: http://zbar.sourceforge.net/')
15 sys.exit(1) 19 sys.exit(1)
16 20
17 21