(self)
return self.ri.lookup(self.ri.vs, '%0.1f' % self.vc_ver) or default
Microsoft Visual Studio directory.
Microsoft Visual Studio directory.
Microsoft Visual Studio directory .
def VSInstallDir(self):
        """
        Microsoft Visual Studio directory.
        """
        # Default path
        name = 'Microsoft Visual Studio %0.1f' % self.vc_ver
        default = os.path.join(self.ProgramFilesx86, name)

        # Try to get path from registry, if fail use default path
        return self.ri.lookup(self.ri.vs, '%0.1f' % self.vc_ver) or default
def VSInstallDir ( self ) : # Default path name = 'Microsoft Visual Studio %0.1f' % self . vc_ver default = os . path . join ( self . ProgramFilesx86 , name ) # Try to get path from registry, if fail use default path return self . ri . lookup ( self . ri . vs , '%0.1f' % self . vc_ver ) or default