The default install location for Python modules will be changing in the next OpenUSD release to the standard site-packages directory instead of the hard-coded “lib/python” directory. The new location varies depending on platform and Python version. Typical locations are:
Linux/MacOS:
/lib/pythonX.Y/site-packages
/lib64/pythonX.Y/site-packages
Windows:
/Lib/site-packages
This conforms to Python packaging standards. One benefit of this is users can build OpenUSD into the root of a virtualenv and use the Python bindings without having to configure PYTHONPATH manually.
Users can customize the module install directory by specifying PXR_PYTHON_INSTALL_DIR when running cmake or --python-install-dir when running build_usd.py. Specifying lib/python will revert to the previous behavior.
Please let me know if you have any questions or comments. For more information, see the links below. Thanks!