Version retrival fixes for the About Dialogs
[pyplotsuite.git] / pyplotsuite / common / version.py
blobcae87c47d3f68ba9eb5e4257ff942ab27f12bd8d
2 def read_version(rootdir):
3 """ Extract version from the VERSION file. """
4 file = open(rootdir+'VERSION')
5 ver = file.readline().strip()
6 file.close()
7 return ver