From 25f1b3202c768ad2b849f086f5e86c6e05418caa Mon Sep 17 00:00:00 2001
From: Lukas Platz <lukas@lplatz.de>
Date: Fri, 3 Aug 2018 17:00:22 +0200
Subject: [PATCH] make 'ift.version.gitversion' work in the absense of git tags

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 928e2748b..dbe4d5e6c 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ from setuptools import find_packages, setup
 
 def write_version():
     import subprocess
-    p = subprocess.Popen(["git", "describe", "--dirty", "--tags"],
+    p = subprocess.Popen(["git", "describe", "--dirty", "--tags", "--always"],
                          stdout=subprocess.PIPE)
     res = p.communicate()[0].strip().decode('utf-8')
     with open("nifty5/git_version.py", "w") as file:
-- 
GitLab