Removed generation of __version__.py
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 10 Aug 2012 08:04:52 +0000 (11:04 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Mon, 13 Aug 2012 14:11:01 +0000 (17:11 +0300)
commit39411702767cc9b2d6f9a48bef3c6b1e6c7b6187
tree13c9440d585daf110a54442a56f67417c3b89e80
parent2475ce557b4e42becab06d2efb4f020865cd1cd7
Removed generation of __version__.py

It makes gbs fail when run from source tree, if version is not
generated yet. It also breakes tests because of the same reason.

I reimplemented it in a way that version is taken from __init__.py and
imported or parsed where version info is needed.
Note, that in setup.py and Makefile it's parsed in order to less depend
on python code. setup and Make should be able to work even if
__init__.py has syntax errors. The only requirements to get a version
from there is that it should be in parseable form.

Change-Id: I928d4c75f970345c6ccd7be2cc54e4f3d9d1df38
Makefile
VERSION [deleted file]
gitbuildsys/__init__.py
setup.py
tools/gbs