def _get_name_and_version(name, version, for_filename=False):
 if for_filename:
  name = _FILESAFE.sub(u'-', name)
  version = _FILESAFE.sub(u'-', version.replace(u' ', u'.'))
 return (u'%s-%s' % (name, version))

def _get_name_and_version ( name , version , for_filename = False ) : if for_filename : name = _FILESAFE . sub ( u'-' , name ) version = _FILESAFE . sub ( u'-' , version . replace ( u' ' , u'.' ) ) return ( u'%s-%s' % ( name , version ) )
return the distribution name with version .