Envmaster is a system for managing environment variables and paths in a clean and consistent manner. Similar to "modules", but using a Python syntax instead of Tcl, and support for standard directory structures built in.
For more details see user manual.