From 4e5097f0fa43b1394e3ffcda038377e75f64cc71 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 10 Dec 2018 17:43:54 +0100
Subject: [PATCH] [setup.py] Externalize version number to be able to use
 existing CI infrastructure

---
 setup.py    | 2 +-
 version.txt | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 version.txt

diff --git a/setup.py b/setup.py
index b8f6112d3..e34889080 100755
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ from io import open
 setup(
 
     name='beat.web',
-    version='1.3.1rc1',
+    version=open("version.txt").read().rstrip(),
     description='Biometrics Evaluation and Testing Platform (Web Modules)',
     url='https://gitlab.idiap.ch/beat/beat.web',
     license='AGPLv3',
diff --git a/version.txt b/version.txt
new file mode 100644
index 000000000..ab703a9a8
--- /dev/null
+++ b/version.txt
@@ -0,0 +1 @@
+1.3.1rc1
-- 
GitLab