4.2 Configuration Files

Aspen obeys several configuration files, all located in __/etc. The comment character for these files is #, and comments can be included in-line. Blank lines are ignored, as is initial and trailing whitespace per-line. Where section names are called for, they are given in brackets.

Where a configuration file calls for a Python object to be specified, this is done in a notation derived from setuptools' entry_points feature: a dotted module name, followed by a colon and a dotted identifier naming an object within the module. This is referred to below as colon notation. The following example would import the bar object from example.package.foo, and use its baz attribute:

example.package.foo:bar.baz



Subsections
Aspen is copyright © 2006-2007 by Chad Whitacre and contributors, and is offered under the MIT license.