sitetools

Customize your Python startup sequence.


License
BSD-1-Clause
Install
pip install sitetools==0.1.0

Documentation

sitetools

This package is responsible for establishing the Python execution environment for Western X. The major tasks it performs are:

  • setting up uniform logging via Python's standard loggers;
  • adding "super" site-packages (much like Python's standard site-packages) described by environment variables;
  • supporting our multi-platform build environment via *.pth files;
  • resetting os.environ after it is mangled by programs which embed Python (e.g. Maya and Nuke);
  • monkey-patching some Python bugs in older versions that are in use at Western X.

Read the docs, and good luck!