I believe that these messages are triggered by this code:
|
result=subprocess.check_output('git describe --tags', shell=True,universal_newlines=True).rstrip() |
I would suggest checking for the existence of .git before attempting to run the subprocess command. When installed in an image, it will not appear as a github repository (or if the user pip installs directly from github).
I believe that these messages are triggered by this code:
RIMS/DynSpecMS/dynspecms_version.py
Line 10 in 631048f
I would suggest checking for the existence of
.gitbefore attempting to run the subprocess command. When installed in an image, it will not appear as a github repository (or if the user pip installs directly from github).