From 27819a155f664104257b8844e4652469d173a7ab Mon Sep 17 00:00:00 2001 From: Manuel Guenther <manuel.guenther@idiap.ch> Date: Thu, 6 Nov 2014 15:36:06 +0100 Subject: [PATCH] Implemented versioning by version.txt --- MANIFEST.in | 2 +- setup.py | 5 +++-- version.txt | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 version.txt diff --git a/MANIFEST.in b/MANIFEST.in index 12fee15..f3729ac 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ -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 *.cc *.cpp *.h *.hdf5 diff --git a/setup.py b/setup.py index 0c110b0..e58f323 100644 --- a/setup.py +++ b/setup.py @@ -12,11 +12,12 @@ from bob.blitz.extension import Extension, Library, build_ext from bob.extension.utils import load_requirements build_requires = load_requirements() +# Define package version +version = open("version.txt").read().rstrip() + packages = ['boost'] boost_modules = ['system', 'python'] -version = '2.0.0a0' - setup( name='bob.learn.misc', 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