Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better detection of python lib / include dirs in build_usd.py #1692

Merged

Commits on Mar 4, 2022

  1. better detection of python lib / include dirs in build_usd.py

    This addresses two issues:
    
    - Building using a venv-installed python
      - The venv-installed pythons would try to pull the libraries from
        the venv-directory, when they only reside at the "original"\
        installed python location
    
    - Building with a python that was moved after building on Linux
      - We experienced issues where the `INCLUDEPY` and `LIBDIR` sysconfig
        vars were baked at build time.  Thus these would no longer be
        reliable if running a python executable that was moved to a
        different location after building.
    
    Note that or python-2.7, `installed_base` doesn't exist, so we fall back
    to `base`.  This should be fairly backward-compatible, as we check if
    the dir (for include) or file (for lib) doesn't exist, and try alternate
    methods if not.
    pmolodo committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    535f6da View commit details
    Browse the repository at this point in the history