Commit 7aa3e898 authored by Manuel Günther's avatar Manuel Günther
Browse files

Implemented versioning by version.txt

parent dcfe68a0
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 *.cpp *.h
recursive-include bob/io/video/data *.*
......
......@@ -13,6 +13,9 @@ from bob.extension import pkgconfig, find_library
from bob.extension.utils import load_requirements
build_requires = load_requirements()
# Define package version
version = open("version.txt").read().rstrip()
import os
package_dir = os.path.dirname(os.path.realpath(__file__))
target_dir = os.path.join(package_dir, 'bob', 'io', 'video')
......@@ -25,8 +28,6 @@ packages = [
'libswscale >= 0.7.1'
]
version = '2.0.0a0'
define_macros = [('__STDC_CONSTANT_MACROS', None)]
# Checks if we have avformat_alloc_output_context2 defined in libavformat
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment