""" from optparse import OptionParser clp = OptionParser(usage=usageHelp) clp.add_option( "--input-xml-deps-file", dest="inputXmlDepsFile", type="string", help="Input XML file giving the Trilinos dependencies.") clp.add_option( "--output-html-deps-file", dest="outputHtmlDepsFile", type="string", help="Output HTML file showing the Trilinos dependencies") (options, args) = clp.parse_args() # # Execute the commands # from TribitsDependencies import getProjectDependenciesFromXmlFile trilinosDependencies = getProjectDependenciesFromXmlFile( options.inputXmlDepsFile) trilinosDependencies.writeFullHtmlPage( options.outputHtmlDepsFile)
""" from optparse import OptionParser clp = OptionParser(usage=usageHelp) clp.add_option( "--input-xml-deps-file", dest="inputXmlDepsFile", type="string", help="Input XML file giving the Trilinos dependencies.") clp.add_option( "--output-cdash-deps-xml-file", dest="outputCDashDepsXmlFile", type="string", help="Output XML file giving the TriBITS project dependices in XML form that CDash understands.") (options, args) = clp.parse_args() # # Execute the commands # from TribitsDependencies import getProjectDependenciesFromXmlFile tribitsDependencies = getProjectDependenciesFromXmlFile( options.inputXmlDepsFile) tribitsDependencies.writeCDashXmlDepsFile( options.outputCDashDepsXmlFile)