I linked to a related blueprint: https://blueprints.launchpad.net/nova/+spec/version-py
After this is merged to trunk (exists in lp:~anso/nova/deploy) it will be as easy as
from nova import version print version.string() print version.string_with_vcs()
I linked to a related blueprint: https:/ /blueprints. launchpad. net/nova/ +spec/version- py
After this is merged to trunk (exists in lp:~anso/nova/deploy) it will be as easy as
from nova import version string_ with_vcs( )
print version.string()
print version.