Modernized to avoid duplicate splitting around '=' signs.
1) Use newer syntax.
2) version.info.{major,minor} is gone, use simple subscripts.
3) Replace s.format(a, a, a.. ) with the 's % ( a, a, ...)' form.