conda create -n otio-py38 python=3.8
conda activate otio-py38
conda install -c anaconda cmake
#conda install -c anaconda jinja2 # for USD
python -m pip install PySide2 PyOpenGL
#conda install -c rdonnelly vs2019_win-64 # developer command prompt for VS2019
#Build your projects
Test PySide with hello.py:
import sys
from PySide2.QtWidgets import QApplication, QLabel
def window():
app = QApplication(sys.argv)
b = QLabel('Hello World!')
b.setGeometry(100,100,200,50)
b.move(50,20)
b.show()
sys.exit(app.exec_())
if __name__ == '__main__':
window()
Build an extensive USD:
python path/to/usd/build_scripts/build_usd.py -v --generator=Xcode --no-tests --no-examples --no-tutorials --tools --no-docs --usdview --openimageio --alembic --no-hdf5 --draco --materialx --ptex --opencolorio --embree path/to/usd-install