From b5746700a6c9d25a6a4b7c7e46eac43031d2f287 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 23 Dec 2017 19:26:24 +0100 Subject: [PATCH] update error message --- dotdrop/dotdrop.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) mode change 100755 => 100644 dotdrop/dotdrop.py diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py old mode 100755 new mode 100644 index 76670dd..6a1d321 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -15,12 +15,19 @@ try: except: errmsg = ''' Dotdrop has been updated to be included in pypi and -the way it needs to be called has changed. +the way it needs to be called has slightly changed. -First update dotdrop: +First get the latest version of dotdrop: $ git submodule update --init --recursive -And then re-run the bootstrap script: +And then re-run the bootstrap script to update \"dotdrop.sh\": $ ./dotdrop/bootstrap.sh + +Instead of calling dotdrop directly like this: + $ python3 dotdrop/dotdrop/dotdrop.py ... +Call it like this: + $ PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop ... + +See TODO ''' print(errmsg) sys.exit(1)