// Copyright (c) Corporation for National Research Initiatives package org.python.modules; // This is sort of analogous to CPython's Modules/Setup file. Use this to // specify additional builtin modules. public class Setup { // Each element of this array is a string naming a builtin module to // add to the system. The string has the following allowable forms: // // name // The module name is `name' and the class name is // org.python.modules.name // // name:class // The module name is `name' and the class name is `class' where // class must be a fully qualified Java class name // // name:null // The module `name' is removed from the list of builtin modules // // That isn't very useful here, but you can add additional builtin // modules by editing the Jython registry file. See the property // python.modules.builtin for details. public static String[] builtinModules = { "jarray", "math", "thread", "operator", "time:org.python.modules.time.Time", "os", "types", "py_compile", "pre:org.python.modules.re", "_sre", "synchronize", "cPickle", "cStringIO", "struct", "binascii", "md5:org.python.modules.MD5Module", "exceptions:org.python.core.exceptions", "_codecs", "imp", "sha", "ucnhash", "_jython", "new:org.python.modules.newmodule", "_weakref", "xreadlines", "errno", "array:org.python.modules.ArrayModule", "sets:org.python.modules.sets.Sets" }; }