Merge branch '2.0' into 2.1

This commit is contained in:
Julien Duponchelle committed 2017-02-28 14:25:38 +01:00
commit 1ab9ca2333
29 files changed
+548 -55

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ if "dev" in __version__:
import os
import subprocess
if os.path.exists(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", ".git")):
r = subprocess.run(["git", "rev-parse", "--short", "HEAD"], stdout=subprocess.PIPE).stdout.decode().strip("\n")
r = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).decode().strip("\n")
__version__ += "-" + r
except Exception as e:
print(e)