Tools for setting up a Python execution environment at runtime.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
sitetools
tests
.gitignore
.travis.yml
LICENSE.txt
README.md
setup.py

README.md

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!