5.3.4 paths
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. First we look for __/lib/python,
then for __/lib/pythonx.y, using only the first found
- pkg
-
site-packages under the site's local Python library,
__/lib/pythonx.y/site-packages
- 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.
Release trunk, documentation updated on today.
Aspen is copyright © 2006-2007 by Chad Whitacre and contributors, and is offered under the MIT license.