def clean_pkg_version(version):
    'Uses pip to prepare a package version string, from our internal version.'
    return six.u(pep440_version(str(version).replace('==', '')))
Uses pip to prepare a package version string, from our internal version.
def clean_pkg_version(version):
    
    return six.u(pep440_version(str(version).replace('==', )))