1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:19:46 +00:00

adding message for import failuer

This commit is contained in:
deadc0de6
2017-12-23 18:42:34 +01:00
parent ae102749ed
commit 3b1e289c9b

View File

@@ -10,7 +10,18 @@ import subprocess
from docopt import docopt
# local imports
from . import __version__ as VERSION
try:
from . import __version__ as VERSION
except:
errmsg = '''
Dotdrop has been updated to be included in pypi and
the way it needs to be called has changed.
First update dotdrop:
$ git submodule update --init --recursive
And then re-run the bootstrap script:
$ ./dotdrop/bootstrap.sh
'''
print(errmsg)
from .logger import Logger
from .templategen import Templategen
from .installer import Installer