From 4e404c6d6cc2804fd539b72c51aaccdd4813c4e6 Mon Sep 17 00:00:00 2001 From: Manuel Guenther <manuel.guenther@idiap.ch> Date: Thu, 6 Nov 2014 15:36:02 +0100 Subject: [PATCH] Implemented versioning by version.txt --- MANIFEST.in | 2 +- setup.py | 2 +- version.txt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 version.txt diff --git a/MANIFEST.in b/MANIFEST.in index a566f03..3e5fb4a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include LICENSE README.rst bootstrap.py buildout.cfg requirements.txt +include LICENSE README.rst bootstrap.py buildout.cfg requirements.txt version.txt recursive-include doc conf.py *.rst recursive-include bob *.h *.cpp recursive-include bob/ap/data *.wav diff --git a/setup.py b/setup.py index 1093918..5a75303 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from bob.blitz.extension import Extension, Library, build_ext from bob.extension.utils import load_requirements build_requires = load_requirements() -version = '2.0.0a0' +version = open('version.txt').read().rstrip() setup( diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..82d4561 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +2.0.0a3 -- GitLab