def METHOD_NAME(self, version):
    if version > Version("2"):
        url = "https://github.com/wannier-developers/wannier90/archive/v{0}.tar.gz"
    else:
        url = "http://wannier.org/code/wannier90-{0}.tar.gz"
    return url.format(version)