get version from distribution