Exemple #1
0
    """Consider ctypes function pointers to be built-ins"""
    return (isinstance(obj, (wrapper.Wrapper, _CFuncPtr))
            or originalIsBuiltin(obj))


inspect.isbuiltin = isbuiltin

if __name__ == "__main__":
    excludes = [
        "numpy",
        "_tkinter",
        "Tkinter",
        "math",
        "string",
        "pygame",
    ]
    stops = []

    modules = [
        'OpenGL',
        'ctypes',
        '__builtin__',
        'OpenGL_accelerate',
    ]
    pydoc2.PackageDocumentationGenerator(
        baseModules=modules,
        destinationDirectory=".",
        exclusions=excludes,
        recursionStops=stops,
    ).process()
Exemple #2
0
        "Numeric",
        "numpy",
        "_tkinter",
        "Tkinter",
        "math",
        "string",
        "pygame",
        "pygame.locals",
    ]
    modules = [
        "OpenGLContext",
        "OpenGLContext_qt",
        "wx.glcanvas",
        "vrml",
        "vrml_accelerate",
        'logging',
        "OpenGL",
        "OpenGL_accelerate",
        "ttfquery",
        "simpleparse",
        "fontTools",
        "numpy",
    ]
    pydoc2.PackageDocumentationGenerator(
        baseModules=modules,
        destinationDirectory=".",
        exclusions=excludes,
        #recursionStops = stops,
        formatter=gldoc.GLFormatter(),
    ).process()