parameters: (self)
docstring: Microsoft Visual C++ runtime redistributable dll.
  
          Return
          ------
          str
              path
docstring_summary: Microsoft Visual C++ runtime redistributable dll.
docstring_tokens: Microsoft Visual C ++ runtime redistributable dll .
function: def VCRuntimeRedist(self):
          """
          Microsoft Visual C++ runtime redistributable dll.
  
          Return
          ------
          str
              path
          """
          vcruntime = 'vcruntime%d0.dll' % self.vc_ver
          arch_subdir = self.pi.target_dir(x64=True).strip('\\')
  
          # Installation prefixes candidates
          prefixes = []
          tools_path = self.si.VCInstallDir
          redist_path = dirname(tools_path.replace(r'\Tools', r'\Redist'))
          if isdir(redist_path):
              # Redist version may not be exactly the same as tools
              redist_path = join(redist_path, listdir(redist_path)[-1])
              prefixes += [redist_path, join(redist_path, 'onecore')]
  
          prefixes += [join(tools_path, 'redist')]  # VS14 legacy path
  
          # CRT directory
          crt_dirs = ('Microsoft.VC%d.CRT' % (self.vc_ver * 10),
                      # Sometime store in directory with VS version instead of VC
                      'Microsoft.VC%d.CRT' % (int(self.vs_ver) * 10))
  
          # vcruntime path
          for prefix, crt_dir in itertools.product(prefixes, crt_dirs):
              path = join(prefix, arch_subdir, crt_dir, vcruntime)
              if isfile(path):
                  return path
function_tokens: def VCRuntimeRedist ( self ) : vcruntime = 'vcruntime%d0.dll' % self . vc_ver arch_subdir = self . pi . target_dir ( x64 = True ) . strip ( '\\' ) # Installation prefixes candidates prefixes = [ ] tools_path = self . si . VCInstallDir redist_path = dirname ( tools_path . replace ( r'\Tools' , r'\Redist' ) ) if isdir ( redist_path ) : # Redist version may not be exactly the same as tools redist_path = join ( redist_path , listdir ( redist_path ) [ - 1 ] ) prefixes += [ redist_path , join ( redist_path , 'onecore' ) ] prefixes += [ join ( tools_path , 'redist' ) ] # VS14 legacy path # CRT directory crt_dirs = ( 'Microsoft.VC%d.CRT' % ( self . vc_ver * 10 ) , # Sometime store in directory with VS version instead of VC 'Microsoft.VC%d.CRT' % ( int ( self . vs_ver ) * 10 ) ) # vcruntime path for prefix , crt_dir in itertools . product ( prefixes , crt_dirs ) : path = join ( prefix , arch_subdir , crt_dir , vcruntime ) if isfile ( path ) : return path