spyce
home
license
community
download
examples
resources
wishlist
contrib (@sf)
documentation
intro
lang
runtime
modules
tags
install
exits
sourceforge
statistics
freshmeat

Documentation - Runtime
[[ Spyce ]]
Python Server Pages
by Rimon Barr

Prev: 3.6.1 - Example configuration Up: 3.6 - Configuration Next: 3.6.3 - import

3.6.2. path

The path option specifies additional module and import directories searched by the Spyce engine. Specifically, the Spyce path (the path searched to resolve [[.import]] directives) is the Spyce home modules directory, plus the directories specified here, plus the directory of the current Spyce file. The directories specified here are also added to the sys.path, so that import statements search these directories as well. The format for this option is a colon-separated (or semicolon-separated, depending on your operating system) list of directories. If path is omitted from the configuration file, the engine will check for a SPYCE_PATH variable in the process environment, and use that. Failing this, the default is an empty string.


Prev: 3.6.1 - Example configuration Up: 3.6 - Configuration Next: 3.6.3 - import


© 2002-06 Rimon Barr
email: rimon@acm.org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.13