Update for OpenVR SDK 1.26.7
cmbruns opened this issue · comments
- Synchronize local working copies of both openvr and pyopenvr git repositories
- Run
src/translate/copy_libs.py
, which does the following:
- Make sure latest openvr shared libraries are copied and renamed from openvr/bin/whatever/[lib]openvr_api.[dll,so,dylib] to pyopenvr/src/openvr/libopenvr_api_[32,64].[dll,so,dylib]
- Make sure the latest headers are copied from openvr/headers/openvr.h and openvr_capi.h, to pyopenvr/src/translate/.
- Make sure
sub_version
at bottom ofsrc/translate/generator.py
is '1', or whatever it should be. - Run
src/translate/generator.py
, which does the following:
- Increment version number in src/openvr/version.py
- First two numbers are the OpenVR product and major versions, e.g. "0.9"
- The third number has 4 digits, and consists of two digits for the OpenVR minor/patch version, and two digits for the pyopenvr release version. e.g. "0.9.2002" for the second release of pyopenvr for OpenVR version 0.9.20
- Commit changes locally
- Pull latest version of branch from github
- Resolve any conflicts
- Make sure your PYTHONPATH points to the latest version of pyopenvr
- Run the following tests:
-
python samples/hello.py
Does the program run successfully? -
python samples/track_hmd.py
Do the matrices (eventually) vary with HMD orientation? - Run unit tests:
1. [ ]cd src/tests
1. [ ]nosetests
Do all the tests pass? - Run src/samples/glfw/hellovr_glfw.py and wear the HMD
- Do you see the cubes and the controllers?
- Do the grip buttons cause the controllers to vibrate?
- Does the trigger button cause the cubes to disappear?
- Does the upper menu button hide the controller?
- Commit any new changes
- Set a git tag with the latest version number, e.g. "1.4.1702"
- Push latest changes to github, INCLUDING TAGS
- Create a release at github
- Create a draft release at github, using that new tag
- Write release notes in the space provided
- Publish that github release
- Publish release to PyPi
-
python -m build --sdist --wheel
-
python -m twine upload --repository pypi dist/*
-