cmbruns / pyopenvr

Unofficial python bindings for Valve's OpenVR virtual reality SDK
BSD 3-Clause "New" or "Revised" License
255 stars 41 forks source link

Update for OpenVR SDK 1.26.7 #93

Closed cmbruns closed 1 year ago

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