Next: , Previous: Config File Format, Up: Configuration


4.2 Predefined Config File Symbols

The following symbols are automatically available for use in the configuration file.

basedir
the base directory for the buildmaster. This string has not been expanded, so it may start with a tilde. It needs to be expanded before use. The config file is located in os.path.expanduser(os.path.join(basedir, 'master.cfg'))
__file__
the absolute path of the config file. The config file's directory is located in os.path.dirname(__file__).