Here are some beginners instructions on how to use this repository.
- Install rez via
python install.py
method - Clone/download this repository
- Ensure at least the folder printed by
this command
rez config local_packages_path
- Open terminal in (extracted) repository folder,
run
rez build --install
USD should now be installed as a rez package named usd
.
- shbang of Python USD Tools replaced with
env python*.*
calls - Has a copy of aswf/ci-usd's
lib
andlib64
libraries from/usr/local
.
To run USD: rez env usd -- usdcat --help
You'll also need PySide/PySide2 and PyOpenGL if you want to use usdview
rez pip --install PySide2
rez pip --install PyOpenGL
rez env usd PySide2 PyOpenGL -- usdview path/to/scene.usd
Whenever new official release come out, update the __version__
in package.py
then re-run rez build --install
.
If you decide to make another install, e.g. new commands()
environment
setup, you can instead just update the +local.
version number to indicate
new releases/versions of your own. See PEP 540 local version segments.
Also, you can rename +local.
to something more relevant to you
e.g. +mystudio.
or +mygithubname.
Want more rez packages? Checkout my GitHub repositories