Exemple #1
0
def FindRegisterHelpFile(helpFile, searchPaths, helpDesc = None ):
    import regutil

    try:
        pathLook = FindHelpPath(helpFile, helpDesc, searchPaths)
    except error as details:
        print("*** ", details)
        return
#       print "%s found at %s" % (helpFile, pathLook)
    regutil.RegisterHelpFile(helpFile, pathLook, helpDesc)
Exemple #2
0
        regutil.RegisterPythonExe(fname, exeAlias)
    return fname


def FindRegisterHelpFile(helpFile, searchPaths, helpDesc=None):
    import regutil

    try:
        pathLook = FindHelpPath(helpFile, helpDesc, searchPaths)
    except error, details:
        print "*** ", details
        return


#       print "%s found at %s" % (helpFile, pathLook)
    regutil.RegisterHelpFile(helpFile, pathLook, helpDesc)


def SetupCore(searchPaths):
    """Setup the core Python information in the registry.

       This function makes no assumptions about the current state of sys.path.

       After this function has completed, you should have access to the standard
       Python library, and the standard Win32 extensions
    """

    import sys
    for path in searchPaths:
        sys.path.append(path)