]> code.ossystems Code Review - openembedded-core.git/commit
Move the python version check into the python package
authorChris Larson <chris_larson@mentor.com>
Thu, 15 Apr 2010 15:45:15 +0000 (08:45 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:34 +0000 (15:41 +0100)
commit214d1f7433fd8571c3e0920624ce07f31c7f08c9
tree60bcbf02751331e45b6d8782a4318a184262f70e
parent231d3a534cdf75b3db588329fbd5d2a0fbbfba5e
Move the python version check into the python package

This ensures the check is run for anyone using the package, including
setup.py, though it's sad that it's necessary, since all it really wants is
__version__.

Ideally, we'd avoid the version check entirely in favor of checking for
functionality, but that's rather difficult with language constructs like
context managers, so this'll do for now.

(Bitbake rev: f936f1c0edf70860ea0f39ec1a500ba43b56f289)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/bin/bitbake
bitbake/lib/bb/__init__.py