PageRenderTime 180ms CodeModel.GetById 156ms app.highlight 20ms RepoModel.GetById 1ms app.codeStats 0ms

/jython/jython.conf

http://github.com/brinkman83/bashrc
Config | 111 lines | 93 code | 18 blank | 0 comment | 0 complexity | bd7d18197f4f2a36c94b4f198e9a6c78 MD5 | raw file
  1# Python Registry -*- ksh -*-
  2# This default registry sets many common options to their default values
  3# All of these settings could be erased with no change in behavior
  4
  5# Extends the list of directories searched on module imports
  6# The initial list contains the current working directory and the directory
  7# of the Jython standard library.
  8#python.path = /usr/lib/site-python
  9
 10# Set the directory to use for caches (currently just package information)
 11# This directory should be writable by the user
 12# If this is an absolute path it is used as given
 13# Otherwise it is interpreted relative to sys.prefix
 14# (typically the directory of this file)
 15# Defaults to directory .jython-cache in the user home directory
 16#python.cachedir = /home/john/.jython-cache
 17
 18# Setting this property to true disables the package scan for the cachedir.
 19# Please be aware that disabling this might break some java import statements
 20#python.cachedir.skip = false
 21
 22# Properties to check for initializing and updating the package cache
 23# Hopefully you won't have any need to change these
 24#python.packages.paths = java.class.path, sun.boot.class.path
 25#python.packages.directories = java.ext.dirs
 26
 27# Set verbosity to error, warning, message, comment, or debug
 28# for varying levels of informative messages from Jython. Normally
 29# this option is set from the command line.
 30#python.verbose = message
 31
 32# Setting this to true will support old 1.0 style keyword+"_" names
 33# This isn't needed any more due to improvements in the parser
 34python.deprecated.keywordMangling = false
 35
 36# Setting this to the name of different console class, new console
 37# features can be enabled. Readline support is such an example
 38#python.console=org.python.util.ReadlineConsole
 39#python.console.readlinelib=Editline
 40
 41# Setting this to true will cause the console to poll standard in
 42# This might be helpful on systems without system-level threads
 43#python.console.poll = false
 44
 45# Setting this to a valid codec name will cause the console to use a
 46# different encoding when reading commands from the console.
 47# The default java encoding is still used when reading python sources
 48# from the filesystem.
 49#python.console.encoding = us-ascii
 50
 51# Setting this to false will allow Jython to provide access to
 52# non-public fields, methods, and constructors of Java objects.
 53#python.security.respectJavaAccessibility = true
 54
 55# List of choices for internal tables impl (PyJavaClasses canonical map etc.),
 56# these are separated through ':' and tryed from left to right.
 57# For long running applications under java2, needing classes unloading,
 58# in order to have jython runtime automatically discarding 
 59# no longer needed info and avoding memory leakage, this can be set 
 60# to weak or soft (=> an impl. using weak-refs or soft-refs will be used).
 61#python.options.internalTablesImpl = soft
 62#python.options.internalTablesImpl = weak
 63
 64# Setting this to true will force Jython will use the first module
 65# found on sys.path where java File.isFile() returns true.
 66# Setting this to true has no effect on unix-type filesystems. 
 67# On Windows/HPS+ systems, setting it to true will enable Jython-2.0 
 68# behaviour.
 69python.options.caseok = false
 70
 71
 72# Use this registry entry to control the list of builtin modules; you
 73# can add, remove, or override builtin modules.  The value for this
 74# registry key is a comma separated list of module entries, each entry 
 75# of which has the following allowable forms:
 76#
 77# name
 78#     The module name is `name' and the class name is
 79#     org.python.modules.name
 80#
 81# name:class
 82#     The module name is `name' and the class name is `class' where
 83#     class must be a fully qualified Java class name
 84#
 85# name:null
 86#     The module `name' is removed from the list of builtin modules
 87#
 88# A good example would be to use a jni version of os for more
 89# functionality by having an entry such as os:com.foo.jni.os
 90#python.modules.builtin = whatever
 91
 92# This specifies the command used by jythonc to compile Java source
 93# code, along with the complete classpath to use.
 94# python.jythonc.compiler = /depot/java/plat/bin/jikes
 95# python.jythonc.classpath = /usr/java1.2/jre/lib/rt.jar:/Jython/dist:.
 96# python.jythonc.compileropts = +E +D -g
 97
 98# python.environment controls the type of environment support provided
 99# by the os module. Default behavior for known operating systems is to
100# generate the environment by executing shell commands appropriate to
101# the operating system. For unknown operating systems, provide an
102# empty environment. Uncomment this line for an empty environment
103# on all operating systems.
104#python.environment=None
105
106# python.os determines operating-specific features, similar to and overriding the
107# Java property "os.name".
108# Some generic values are also supported: 'nt', 'dos', 'mac' and 'posix'.
109# Uncomment the following line for the most generic OS behavior available.
110#python.os=None
111