2.5.1.2. Predefined Config File Symbols


RemiZOffAlex  Создано: 2021-12-28 03:52:34.402257  Обновлено: 2021-12-28 03:52:34.402272

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__).

© RemiZOffAlex