cmbruns / pyopenvr

Unofficial python bindings for Valve's OpenVR virtual reality SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update for OpenVR SDK 1.26.7

cmbruns opened this issue · comments

  1. Synchronize local working copies of both openvr and pyopenvr git repositories
  2. 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/.
  1. Make sure sub_version at bottom of src/translate/generator.py is '1', or whatever it should be.
  2. 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
  1. Commit changes locally
  2. Pull latest version of branch from github
  3. Resolve any conflicts
  4. Make sure your PYTHONPATH points to the latest version of pyopenvr
  5. Run the following tests:
  6. python samples/hello.py Does the program run successfully?
  7. python samples/track_hmd.py Do the matrices (eventually) vary with HMD orientation?
  8. Run unit tests:
    1. [ ] cd src/tests
    1. [ ] nosetests Do all the tests pass?
  9. 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?
  10. Commit any new changes
  11. Set a git tag with the latest version number, e.g. "1.4.1702"
  12. Push latest changes to github, INCLUDING TAGS
  13. Create a release at github
    1. Create a draft release at github, using that new tag
    2. Write release notes in the space provided
    3. Publish that github release
  14. Publish release to PyPi
    1. python -m build --sdist --wheel
    2. python -m twine upload --repository pypi dist/*