imageworks/OpenColorIO — comment on commit 33fca0a7072e4113b312583f1d2c5fc2837eb4f8
File: src/pyglue/CMakeLists.txt line 82
By dbr:

This ignores the PYTHON_VARIANT_PATH, which includes something like `python2.6/ucs4`

The variable is also referred to in `share/ocio/setup_ocio.sh.in`, which will point to the wrong path

> Is there any reason these can't go directly in /usr/lib{,64}?

Multiple Python versions would be the main reason. For our internal packaging system, we install stuff into a path like..

${arch}/${cpu}/${nuke.abi}/${python.abi}/${python.ucs}

..which should really be more like:

${arch}/${cpu}/
${python.abi}/${python.ucs}/
${nuke.abi}/

This allows our environment-setup tool to refuse to run python2.5 with a PyOpenColorIO built against python2.6, and so on