예제 #1
0
	def __init__( self, name = None ):
		Plugin.__init__( self, name )
		searchPaths = []
		if sys.platform == "win32":
			from core.helpers.RegistryHelper import getPathsFromRegistry
			keys = [ "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\doxygen_is1\\Inno Setup: App Path" ]
			searchPaths += getPathsFromRegistry( keys, "bin" )
		self._setCommand( "doxygen" )
		self._setCommandSearchPaths( searchPaths )
		self.__doxygenFile = None
		self.setDocsDir( None )
예제 #2
0
	def __init__( self, name = None ):
		SourceCodeProvider.__init__( self, name )
		searchPaths = []
		if sys.platform == "win32":
			keys = [ "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion"
				+ "\\Uninstall\\CollabNet Subversion Client\\UninstallString" ]
			searchPaths += getPathsFromRegistry( keys, ".." )
		self._setCommand( "svn" )
		self._setCommandSearchPaths( searchPaths )
		self.__revisionInfoCache = {} # key: revision, value: RevisionInfo instance
		self.__rootTrunk = False
예제 #3
0
def getCMakeSearchPaths():
    searchPaths = []
    if sys.platform == "win32":
        from core.helpers.RegistryHelper import getPathsFromRegistry

        registryKeys = [
            "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\CMake\\UninstallString"
        ]
        relativePath = "../bin"
        searchPaths += getPathsFromRegistry(registryKeys, relativePath)
    return searchPaths