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