Commit fd0116f
Fix macOS ARM64 PYTHONPATH in setup script
Fix PYTHONPATH variable expansion issue in macOS setup script generator.
Problem:
- PYTHONPATH was showing as "/lib/python:" instead of full path
- Variable ${USD_INSTALL_DIR} was being expanded during script generation
- At generation time, the variable doesn't exist, so it expanded to empty
Solution:
- Change heredoc from << EOF to << 'EOF' (with single quotes)
- This prevents variable expansion during generation
- Variables now expand at runtime when script is sourced
This fixes the Python import error:
ModuleNotFoundError: No module named 'pxr'
Now PYTHONPATH will correctly be:
${USD_INSTALL_DIR}/lib/python (expands at runtime)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent c409f56 commit fd0116f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments