6.4 The aspen.paths object

The aspen.paths object is an instance of aspen._configuration.Paths; it is simply a container for various paths, all normalized and absolute:

root
the website's filesystem root

__
the magic directory

lib
the site's local Python library, __/lib/python2.x

pkg
site-packages under the site's local Python library, __/lib/python2.x

plat
the local platform-specific Python library, __/lib/plat-x

If there is no magic directory, then __, lib, pkg and plat are all None. If there is, then lib, pkg and plat are added to sys.path.

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