Version: 9.12.0
update_catalogs Namespace Reference

Data Structures

class  ParseError
 
class  Component
 
class  Resource
 

Functions

def get_hostname ()
 
def main ()
 

Variables

 appli_local = os.path.realpath(os.path.dirname(__file__))
 
 APPLI = getAppliPath.relpath(appli_local,os.path.realpath(os.path.expanduser("~")))
 
string usage
 
 SEP
 

Function Documentation

◆ get_hostname()

def update_catalogs.get_hostname ( )

◆ main()

def update_catalogs.main ( void  )

Variable Documentation

◆ APPLI

update_catalogs.APPLI = getAppliPath.relpath(appli_local,os.path.realpath(os.path.expanduser("~")))

◆ appli_local

update_catalogs.appli_local = os.path.realpath(os.path.dirname(__file__))

◆ SEP

update_catalogs.SEP

◆ usage

string update_catalogs.usage
Initial value:
1 = """%(prog)s [options]
2 Typical use is:
3  python update_catalogs.py
4 
5 You need to have a well installed SALOME application with a CatalogResources.base.xml file.
6 This file is used (parsed) to collect all module catalogs from distant resources and
7 put them in the directory "remote_catalogs" with sub-directories with same name as the distant resource.
8 Distant resources are all the resources except the main SALOME application.
9 Module catalogs from distant resources are copied by the remote protocol declared in the catalog (rcp or rsh)
10 except for the user resources on the local machine (local copy: cp).
11 
12 In a second time, this procedure generates a ready to use CatalogResources.xml with all available components
13 for each resource.
14 """