Correctly determine version number from module.

This commit is contained in:
Stefan van der Walt
2013-10-19 16:08:42 +02:00
parent 3901f74e00
commit 1354195e6c
+1 -1
View File
@@ -35,7 +35,7 @@ if __name__ == '__main__':
# are not (re)generated. This avoids automatic generation of documentation
# for older or newer versions if such versions are installed on the system.
installed_version = V(module.version.version)
installed_version = V(module.__version__)
setup_lines = open('../setup.py').readlines()
version = 'vUndefined'