libonvif 3.2.6__tar.gz → 3.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. {libonvif-3.2.6 → libonvif-3.2.8}/CMakeLists.txt +1 -1
  2. {libonvif-3.2.6 → libonvif-3.2.8}/MANIFEST.in +3 -3
  3. {libonvif-3.2.6/libonvif.egg-info → libonvif-3.2.8}/PKG-INFO +1 -1
  4. {libonvif-3.2.6 → libonvif-3.2.8}/include/onvif.h +7 -0
  5. {libonvif-3.2.6 → libonvif-3.2.8}/include/onvif_data.h +22 -1
  6. {libonvif-3.2.6 → libonvif-3.2.8}/include/session.h +1 -0
  7. {libonvif-3.2.6 → libonvif-3.2.8}/libonvif/__init__.py +19 -19
  8. libonvif-3.2.8/libonvif/libxml2.so.16 +0 -0
  9. {libonvif-3.2.6 → libonvif-3.2.8/libonvif.egg-info}/PKG-INFO +1 -1
  10. {libonvif-3.2.6 → libonvif-3.2.8}/libonvif.egg-info/SOURCES.txt +0 -10
  11. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/CONTRIBUTING.md +5 -5
  12. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/ci.yml +16 -25
  13. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/configure.yml +5 -5
  14. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/emscripten.yaml +1 -1
  15. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/pip.yml +1 -1
  16. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.pre-commit-config.yaml +8 -8
  17. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/CMakeLists.txt +48 -15
  18. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/README.rst +2 -2
  19. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/classes.rst +2 -1
  20. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/embedding.rst +1 -1
  21. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/exceptions.rst +2 -1
  22. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/misc.rst +1 -8
  23. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/compiling.rst +17 -19
  24. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/faq.rst +8 -8
  25. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/upgrade.rst +1 -2
  26. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/cast.h +6 -23
  27. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/class.h +21 -54
  28. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/common.h +73 -38
  29. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/descr.h +3 -2
  30. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/exception_translation.h +11 -11
  31. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/init.h +1 -1
  32. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/internals.h +66 -25
  33. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/type_caster_base.h +13 -6
  34. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/eigen/tensor.h +3 -3
  35. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/embed.h +11 -1
  36. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/eval.h +5 -5
  37. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/gil.h +6 -2
  38. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/gil_safe_call_once.h +0 -2
  39. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/pybind11.h +38 -81
  40. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/pytypes.h +7 -29
  41. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/stl.h +51 -251
  42. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/stl_bind.h +2 -38
  43. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pybind11/__init__.py +2 -2
  44. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pybind11/_version.py +1 -1
  45. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pybind11/setup_helpers.py +1 -1
  46. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pyproject.toml +2 -2
  47. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/setup.cfg +2 -1
  48. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/CMakeLists.txt +34 -25
  49. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/conftest.py +3 -4
  50. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/env.py +0 -1
  51. libonvif-3.2.8/pybind11/tests/exo_planet_c_api.cpp +103 -0
  52. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/extra_python_package/test_files.py +2 -10
  53. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/pybind11_tests.cpp +0 -5
  54. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/pybind11_tests.h +0 -21
  55. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/pyproject.toml +4 -0
  56. libonvif-3.2.8/pybind11/tests/requirements.txt +13 -0
  57. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_buffers.cpp +0 -171
  58. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_buffers.py +0 -164
  59. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_builtin_casters.py +1 -1
  60. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_call_policies.cpp +2 -2
  61. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_call_policies.py +0 -7
  62. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_callbacks.cpp +1 -1
  63. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_callbacks.py +0 -2
  64. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_class.cpp +0 -16
  65. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_class.py +1 -37
  66. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/CMakeLists.txt +5 -11
  67. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +10 -1
  68. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +11 -1
  69. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +10 -1
  70. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +10 -1
  71. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +10 -1
  72. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +10 -1
  73. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_copy_move.py +0 -4
  74. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cpp_conduit.py +1 -5
  75. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_custom_type_casters.py +0 -2
  76. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_custom_type_setup.py +2 -2
  77. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eigen_matrix.py +0 -3
  78. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eigen_tensor.py +0 -3
  79. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_embed/CMakeLists.txt +3 -5
  80. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_enum.py +0 -63
  81. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eval.py +1 -1
  82. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_exceptions.cpp +0 -39
  83. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_exceptions.py +17 -21
  84. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_factory_constructors.py +0 -13
  85. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_gil_scoped.py +0 -16
  86. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_iostream.py +0 -6
  87. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_kwargs_and_defaults.cpp +0 -6
  88. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_kwargs_and_defaults.py +0 -13
  89. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_methods_and_attributes.cpp +1 -1
  90. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_methods_and_attributes.py +1 -14
  91. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_modules.py +2 -5
  92. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_multiple_inheritance.py +9 -15
  93. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_numpy_array.py +1 -2
  94. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_opaque_types.py +1 -4
  95. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_operator_overloading.py +0 -6
  96. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_pickling.py +1 -18
  97. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_pytypes.cpp +0 -12
  98. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_pytypes.py +1 -12
  99. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_sequences_and_iterators.py +10 -39
  100. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_smart_ptr.py +0 -12
  101. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_stl.cpp +0 -51
  102. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_stl.py +0 -135
  103. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_stl_binders.py +0 -19
  104. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_type_caster_pyobject_ptr.cpp +1 -2
  105. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_virtual_functions.py +2 -7
  106. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/FindPythonLibsNew.cmake +1 -1
  107. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pybind11Common.cmake +70 -31
  108. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +1 -1
  109. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pybind11NewTools.cmake +10 -1
  110. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pybind11Tools.cmake +38 -15
  111. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/setup_global.py.in +1 -4
  112. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/setup_main.py.in +0 -2
  113. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +1 -1
  114. {libonvif-3.2.6 → libonvif-3.2.8}/pyproject.toml +1 -1
  115. {libonvif-3.2.6 → libonvif-3.2.8}/setup.py +82 -82
  116. {libonvif-3.2.6 → libonvif-3.2.8}/src/onvif.c +220 -16
  117. {libonvif-3.2.6 → libonvif-3.2.8}/src/onvif.cpp +4 -1
  118. libonvif-3.2.6/libonvif/libstdc++.so.6 +0 -0
  119. libonvif-3.2.6/libonvif/libxml2.so.16 +0 -0
  120. libonvif-3.2.6/pybind11/docs/advanced/deadlock.md +0 -391
  121. libonvif-3.2.6/pybind11/include/pybind11/conduit/README.txt +0 -15
  122. libonvif-3.2.6/pybind11/include/pybind11/conduit/pybind11_conduit_v1.h +0 -111
  123. libonvif-3.2.6/pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h +0 -88
  124. libonvif-3.2.6/pybind11/include/pybind11/conduit/wrap_include_python_h.h +0 -72
  125. libonvif-3.2.6/pybind11/include/pybind11/warnings.h +0 -75
  126. libonvif-3.2.6/pybind11/tests/custom_exceptions.py +0 -10
  127. libonvif-3.2.6/pybind11/tests/exo_planet_c_api.cpp +0 -76
  128. libonvif-3.2.6/pybind11/tests/requirements.txt +0 -13
  129. libonvif-3.2.6/pybind11/tests/test_warnings.cpp +0 -46
  130. libonvif-3.2.6/pybind11/tests/test_warnings.py +0 -68
  131. {libonvif-3.2.6 → libonvif-3.2.8}/LICENSE +0 -0
  132. {libonvif-3.2.6 → libonvif-3.2.8}/README.md +0 -0
  133. {libonvif-3.2.6 → libonvif-3.2.8}/include/cencode.h +0 -0
  134. {libonvif-3.2.6 → libonvif-3.2.8}/include/getopt-win.h +0 -0
  135. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/allocators.h +0 -0
  136. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/cursorstreamwrapper.h +0 -0
  137. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/document.h +0 -0
  138. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/encodedstream.h +0 -0
  139. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/encodings.h +0 -0
  140. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/error/en.h +0 -0
  141. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/error/error.h +0 -0
  142. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/filereadstream.h +0 -0
  143. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/filewritestream.h +0 -0
  144. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/fwd.h +0 -0
  145. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/biginteger.h +0 -0
  146. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/clzll.h +0 -0
  147. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/diyfp.h +0 -0
  148. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/dtoa.h +0 -0
  149. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/ieee754.h +0 -0
  150. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/itoa.h +0 -0
  151. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/meta.h +0 -0
  152. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/pow10.h +0 -0
  153. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/regex.h +0 -0
  154. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/stack.h +0 -0
  155. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/strfunc.h +0 -0
  156. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/strtod.h +0 -0
  157. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/internal/swap.h +0 -0
  158. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/istreamwrapper.h +0 -0
  159. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/memorybuffer.h +0 -0
  160. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/memorystream.h +0 -0
  161. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/msinttypes/inttypes.h +0 -0
  162. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/msinttypes/stdint.h +0 -0
  163. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/ostreamwrapper.h +0 -0
  164. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/pointer.h +0 -0
  165. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/prettywriter.h +0 -0
  166. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/rapidjson.h +0 -0
  167. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/reader.h +0 -0
  168. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/schema.h +0 -0
  169. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/stream.h +0 -0
  170. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/stringbuffer.h +0 -0
  171. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/uri.h +0 -0
  172. {libonvif-3.2.6 → libonvif-3.2.8}/include/rapidjson/writer.h +0 -0
  173. {libonvif-3.2.6 → libonvif-3.2.8}/include/sha1.h +0 -0
  174. {libonvif-3.2.6 → libonvif-3.2.8}/libonvif.egg-info/dependency_links.txt +0 -0
  175. {libonvif-3.2.6 → libonvif-3.2.8}/libonvif.egg-info/not-zip-safe +0 -0
  176. {libonvif-3.2.6 → libonvif-3.2.8}/libonvif.egg-info/top_level.txt +0 -0
  177. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.appveyor.yml +0 -0
  178. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.clang-format +0 -0
  179. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.clang-tidy +0 -0
  180. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.cmake-format.yaml +0 -0
  181. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.codespell-ignore-lines +0 -0
  182. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.git +0 -0
  183. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.gitattributes +0 -0
  184. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/CODEOWNERS +0 -0
  185. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
  186. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/ISSUE_TEMPLATE/config.yml +0 -0
  187. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/dependabot.yml +0 -0
  188. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/labeler.yml +0 -0
  189. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/labeler_merged.yml +0 -0
  190. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/matchers/pylint.json +0 -0
  191. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/pull_request_template.md +0 -0
  192. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/format.yml +0 -0
  193. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/labeler.yml +0 -0
  194. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.github/workflows/upstream.yml +0 -0
  195. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.gitignore +0 -0
  196. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/.readthedocs.yml +0 -0
  197. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/LICENSE +0 -0
  198. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/MANIFEST.in +0 -0
  199. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/SECURITY.md +0 -0
  200. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/Doxyfile +0 -0
  201. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/Makefile +0 -0
  202. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/_static/css/custom.css +0 -0
  203. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/chrono.rst +0 -0
  204. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/custom.rst +0 -0
  205. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/eigen.rst +0 -0
  206. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/functional.rst +0 -0
  207. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/index.rst +0 -0
  208. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/overview.rst +0 -0
  209. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/stl.rst +0 -0
  210. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/cast/strings.rst +0 -0
  211. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/functions.rst +0 -0
  212. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/pycpp/index.rst +0 -0
  213. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/pycpp/numpy.rst +0 -0
  214. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/pycpp/object.rst +0 -0
  215. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/pycpp/utilities.rst +0 -0
  216. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/advanced/smart_ptrs.rst +0 -0
  217. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/basics.rst +0 -0
  218. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/benchmark.py +0 -0
  219. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/benchmark.rst +0 -0
  220. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/changelog.rst +0 -0
  221. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/classes.rst +0 -0
  222. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/cmake/index.rst +0 -0
  223. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/conf.py +0 -0
  224. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/index.rst +0 -0
  225. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/installing.rst +0 -0
  226. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/limitations.rst +0 -0
  227. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/pybind11-logo.png +0 -0
  228. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
  229. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/pybind11_vs_boost_python1.svg +0 -0
  230. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
  231. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/pybind11_vs_boost_python2.svg +0 -0
  232. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/reference.rst +0 -0
  233. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/release.rst +0 -0
  234. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/requirements.in +0 -0
  235. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/docs/requirements.txt +0 -0
  236. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/attr.h +0 -0
  237. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/buffer_info.h +0 -0
  238. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/chrono.h +0 -0
  239. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/common.h +0 -0
  240. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/complex.h +0 -0
  241. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/cpp_conduit.h +0 -0
  242. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/typeid.h +0 -0
  243. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/detail/value_and_holder.h +0 -0
  244. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/eigen/common.h +0 -0
  245. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/eigen/matrix.h +0 -0
  246. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/eigen.h +0 -0
  247. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/functional.h +0 -0
  248. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/iostream.h +0 -0
  249. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/numpy.h +0 -0
  250. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/operators.h +0 -0
  251. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/options.h +0 -0
  252. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/stl/filesystem.h +0 -0
  253. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/type_caster_pyobject_ptr.h +0 -0
  254. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/include/pybind11/typing.h +0 -0
  255. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/noxfile.py +0 -0
  256. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pybind11/__main__.py +0 -0
  257. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pybind11/commands.py +0 -0
  258. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/pybind11/py.typed +0 -0
  259. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/setup.py +0 -0
  260. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/constructor_stats.h +0 -0
  261. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/cross_module_gil_utils.cpp +0 -0
  262. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/cross_module_interleaved_error_already_set.cpp +0 -0
  263. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/eigen_tensor_avoid_stl_array.cpp +0 -0
  264. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/exo_planet_pybind11.cpp +0 -0
  265. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/extra_python_package/pytest.ini +0 -0
  266. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/extra_setuptools/pytest.ini +0 -0
  267. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/extra_setuptools/test_setuphelper.py +0 -0
  268. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/home_planet_very_lonely_traveler.cpp +0 -0
  269. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/local_bindings.h +0 -0
  270. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/object.h +0 -0
  271. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/pybind11_cross_module_tests.cpp +0 -0
  272. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/pytest.ini +0 -0
  273. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_async.cpp +0 -0
  274. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_async.py +0 -0
  275. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_builtin_casters.cpp +0 -0
  276. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_chrono.cpp +0 -0
  277. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_chrono.py +0 -0
  278. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/embed.cpp +0 -0
  279. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/main.cpp +0 -0
  280. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cmake_build/test.py +0 -0
  281. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_const_name.cpp +0 -0
  282. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_const_name.py +0 -0
  283. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_constants_and_functions.cpp +0 -0
  284. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_constants_and_functions.py +0 -0
  285. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_copy_move.cpp +0 -0
  286. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cpp_conduit.cpp +0 -0
  287. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cpp_conduit_traveler_bindings.h +0 -0
  288. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_cpp_conduit_traveler_types.h +0 -0
  289. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_custom_type_casters.cpp +0 -0
  290. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_custom_type_setup.cpp +0 -0
  291. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_docstring_options.cpp +0 -0
  292. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_docstring_options.py +0 -0
  293. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eigen_matrix.cpp +0 -0
  294. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eigen_tensor.cpp +0 -0
  295. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eigen_tensor.inl +0 -0
  296. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_embed/catch.cpp +0 -0
  297. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_embed/external_module.cpp +0 -0
  298. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_embed/test_interpreter.cpp +0 -0
  299. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_embed/test_interpreter.py +0 -0
  300. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_embed/test_trampoline.py +0 -0
  301. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_enum.cpp +0 -0
  302. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eval.cpp +0 -0
  303. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_eval_call.py +0 -0
  304. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_exceptions.h +0 -0
  305. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_factory_constructors.cpp +0 -0
  306. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_gil_scoped.cpp +0 -0
  307. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_iostream.cpp +0 -0
  308. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_local_bindings.cpp +0 -0
  309. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_local_bindings.py +0 -0
  310. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_modules.cpp +0 -0
  311. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_multiple_inheritance.cpp +0 -0
  312. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_numpy_array.cpp +0 -0
  313. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_numpy_dtypes.cpp +0 -0
  314. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_numpy_dtypes.py +0 -0
  315. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_numpy_vectorize.cpp +0 -0
  316. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_numpy_vectorize.py +0 -0
  317. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_opaque_types.cpp +0 -0
  318. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_operator_overloading.cpp +0 -0
  319. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_pickling.cpp +0 -0
  320. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_python_multiple_inheritance.cpp +0 -0
  321. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_python_multiple_inheritance.py +0 -0
  322. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_sequences_and_iterators.cpp +0 -0
  323. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_smart_ptr.cpp +0 -0
  324. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_stl_binders.cpp +0 -0
  325. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_tagbased_polymorphic.cpp +0 -0
  326. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_tagbased_polymorphic.py +0 -0
  327. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_thread.cpp +0 -0
  328. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_thread.py +0 -0
  329. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_type_caster_pyobject_ptr.py +0 -0
  330. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_type_caster_std_function_specializations.cpp +0 -0
  331. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_type_caster_std_function_specializations.py +0 -0
  332. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_union.cpp +0 -0
  333. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_union.py +0 -0
  334. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_unnamed_namespace_a.cpp +0 -0
  335. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_unnamed_namespace_a.py +0 -0
  336. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_unnamed_namespace_b.cpp +0 -0
  337. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_unnamed_namespace_b.py +0 -0
  338. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_vector_unique_ptr_member.cpp +0 -0
  339. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_vector_unique_ptr_member.py +0 -0
  340. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/test_virtual_functions.cpp +0 -0
  341. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/valgrind-numpy-scipy.supp +0 -0
  342. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tests/valgrind-python.supp +0 -0
  343. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/FindCatch.cmake +0 -0
  344. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/FindEigen3.cmake +0 -0
  345. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/JoinPaths.cmake +0 -0
  346. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/check-style.sh +0 -0
  347. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/cmake_uninstall.cmake.in +0 -0
  348. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/codespell_ignore_lines_from_errors.py +0 -0
  349. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/libsize.py +0 -0
  350. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/make_changelog.py +0 -0
  351. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pybind11.pc.in +0 -0
  352. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pybind11Config.cmake.in +0 -0
  353. {libonvif-3.2.6 → libonvif-3.2.8}/pybind11/tools/pyproject.toml +0 -0
  354. {libonvif-3.2.6 → libonvif-3.2.8}/setup.cfg +0 -0
  355. {libonvif-3.2.6 → libonvif-3.2.8}/src/cencode.c +0 -0
  356. {libonvif-3.2.6 → libonvif-3.2.8}/src/sha1.c +0 -0
@@ -21,7 +21,7 @@
21
21
 
22
22
  cmake_minimum_required(VERSION 3.17)
23
23
 
24
- project(libonvif VERSION 3.2.6)
24
+ project(libonvif VERSION 3.2.8)
25
25
 
26
26
  set(CMAKE_CXX_STANDARD 17)
27
27
  set(CMAKE_CXX_STANDARD_REQUIRED True)
@@ -1,4 +1,4 @@
1
- include README.md CMakeLists.txt LICENSE
2
- recursive-include src *
3
- recursive-include include *
1
+ include README.md CMakeLists.txt LICENSE
2
+ recursive-include src *
3
+ recursive-include include *
4
4
  recursive-include pybind11 *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libonvif
3
- Version: 3.2.6
3
+ Version: 3.2.8
4
4
  Summary: A python module for communicating with onvif cameras
5
5
  Author: Stephen Rhodes
6
6
  Author-email: Stephen Rhodes <sr99622@gmail.com>
@@ -118,6 +118,7 @@ struct OnvifData {
118
118
  char serial_number[128];
119
119
  char host_name[1024];
120
120
  char host[128];
121
+ char user_data[1024];
121
122
  /*error*/
122
123
  char last_error[1024];
123
124
  /*date/time*/
@@ -155,6 +156,7 @@ struct OnvifData {
155
156
  bool hidden;
156
157
  int cache_max;
157
158
  bool sync_audio;
159
+ float position[2];
158
160
  };
159
161
 
160
162
  struct OnvifSession {
@@ -200,6 +202,8 @@ LIBRARY_API int getOptions(struct OnvifData *onvif_data);
200
202
  LIBRARY_API int getImagingSettings(struct OnvifData *onvif_data);
201
203
  LIBRARY_API int setImagingSettings(struct OnvifData *onvif_data);
202
204
 
205
+ LIBRARY_API int getStatus(struct OnvifData *onvif_data);
206
+ LIBRARY_API int absoluteMove(float x_position, float y_position, struct OnvifData *onvif_data);
203
207
  LIBRARY_API int continuousMove(float x, float y, float z, struct OnvifData *onvif_data);
204
208
  LIBRARY_API int moveStop(int type, struct OnvifData *onvif_data);
205
209
  LIBRARY_API int setPreset(char * arg, struct OnvifData *onvif_data);
@@ -234,6 +238,7 @@ LIBRARY_API void getCameraName(int ordinal, struct OnvifSession *onvif_session,
234
238
  LIBRARY_API bool extractXAddrs(int ordinal, struct OnvifSession *onvif_session, struct OnvifData *onvif_data);
235
239
  LIBRARY_API void extractOnvifService(char service[1024], bool post);
236
240
  LIBRARY_API void extractHost(char * xaddrs, char host[128]);
241
+ LIBRARY_API void extractHostWithPort(char * xaddrs, char host[128]);
237
242
 
238
243
  LIBRARY_API int setSocketOptions(int socket);
239
244
  LIBRARY_API void prefix2mask(int prefix, char mask_buf[128]);
@@ -243,6 +248,8 @@ LIBRARY_API void copyData(struct OnvifData* dts, struct OnvifData* src);
243
248
  LIBRARY_API bool hasPTZ(struct OnvifData* onvif_data);
244
249
  LIBRARY_API void getActiveNetworkInterfaces(struct OnvifSession* onvif_session);
245
250
  LIBRARY_API void dumpConfigAll (struct OnvifData *onvif_data);
251
+ LIBRARY_API void setShowCameraResponse(bool arg);
252
+ LIBRARY_API void setShowCommandSent(bool arg);
246
253
 
247
254
  #ifdef __MINGW32__
248
255
  int inet_pton(int af, const char *src, void *dst);
@@ -62,6 +62,9 @@ public:
62
62
  int displayProfile = 0;
63
63
  bool failedLogin = false;
64
64
 
65
+ // sorry about this, there's some wierd bug in windows that won't let me use the user_data set up in onvif.h
66
+ std::string m_user_data;
67
+
65
68
  std::vector<Data> profiles;
66
69
 
67
70
  Data()
@@ -88,6 +91,7 @@ public:
88
91
  copyData(data, other.data);
89
92
  cancelled = other.cancelled;
90
93
  alias = other.alias;
94
+ m_user_data = other.m_user_data;
91
95
  preset = other.preset;
92
96
  stop_type = other.stop_type;
93
97
  synchronizeTime = other.synchronizeTime;
@@ -103,6 +107,7 @@ public:
103
107
  other.data = nullptr;
104
108
  cancelled = other.cancelled;
105
109
  alias = other.alias;
110
+ m_user_data = other.m_user_data;
106
111
  preset = other.preset;
107
112
  stop_type = other.stop_type;
108
113
  synchronizeTime = other.synchronizeTime;
@@ -118,6 +123,7 @@ public:
118
123
  copyData(data, other.data);
119
124
  cancelled = other.cancelled;
120
125
  alias = other.alias;
126
+ m_user_data = other.m_user_data;
121
127
  preset = other.preset;
122
128
  stop_type = other.stop_type;
123
129
  synchronizeTime = other.synchronizeTime;
@@ -134,6 +140,7 @@ public:
134
140
  data = other.data;
135
141
  cancelled = other.cancelled;
136
142
  alias = other.alias;
143
+ m_user_data = other.m_user_data;
137
144
  other.data = nullptr;
138
145
  preset = other.preset;
139
146
  stop_type = other.stop_type;
@@ -579,6 +586,7 @@ public:
579
586
  if (profile.profile().length() == 0)
580
587
  break;
581
588
  getStreamUri(profile.data);
589
+ getSnapshotUri(profile.data);
582
590
  profiles.push_back(profile);
583
591
  index++;
584
592
  }
@@ -668,10 +676,16 @@ public:
668
676
  std::string camera_name() { return data->camera_name; } const
669
677
  void setCameraName(const std::string& arg) { strcpy(data->camera_name, arg.c_str()); }
670
678
  void setHost(const std::string& arg) { strcpy(data->host, arg.c_str()); }
671
- std::string last_error() { return data->last_error; } const
672
679
  std::string profile() { return data->profileToken; } const
680
+
681
+ // was supposed to be like other string values from onvif.h, but windows problems
682
+ std::string user_data() { return m_user_data; } const
683
+ void setUserData(const std::string& arg) { m_user_data = arg; }
684
+
685
+ std::string last_error() { return data->last_error; } const
673
686
  void clearLastError() { memset(data->last_error, 0, 1024); }
674
687
  void setLastError(const std::string& arg) { strcpy(data->last_error, arg.c_str()); }
688
+
675
689
  time_t time_offset() { return data->time_offset; } const
676
690
  void setTimeOffset(time_t arg) { data->time_offset = arg; }
677
691
  std::string timezone() { return data->timezone; } const
@@ -973,6 +987,8 @@ public:
973
987
  w.String(data->password);
974
988
  w.Key("stream_uri");
975
989
  w.String(data->stream_uri);
990
+ w.Key("snapshot_uri");
991
+ w.String(data->snapshot_uri);
976
992
  w.Key("camera_name");
977
993
  w.String(data->camera_name);
978
994
  w.Key("serial_number");
@@ -983,6 +999,8 @@ public:
983
999
  w.String(data->host);
984
1000
  w.Key("last_error");
985
1001
  w.String(data->last_error);
1002
+ w.Key("user_data");
1003
+ w.String(m_user_data.c_str());
986
1004
  w.Key("time_offset");
987
1005
  w.Int(data->time_offset);
988
1006
  w.Key("datetimetype");
@@ -1185,9 +1203,12 @@ public:
1185
1203
  if (key == "username") strncpy(data->username, str, length);
1186
1204
  if (key == "password") strncpy(data->password, str, length);
1187
1205
  if (key == "stream_uri") strncpy(data->stream_uri, str, length);
1206
+ if (key == "snapshot_uri") strncpy(data->snapshot_uri, str, length);
1188
1207
  if (key == "camera_name") strncpy(data->camera_name, str, length);
1189
1208
  if (key == "serial_number") strncpy(data->serial_number, str, length);
1190
1209
  if (key == "host_name") strncpy(data->host_name, str, length);
1210
+ //if (key == "user_data") strncpy(data->user_data, str, length);
1211
+ if (key == "user_data") m_user_data = str;
1191
1212
  if (key == "host") strncpy(data->host, str, length);
1192
1213
  if (key == "last_error") strncpy(data->last_error, str, length);
1193
1214
  if (key == "timezone") strncpy(data->timezone, str, length);
@@ -126,6 +126,7 @@ public:
126
126
  if (strlen(profile->profileToken) == 0)
127
127
  break;
128
128
  getStreamUri(profile);
129
+ getSnapshotUri(profile);
129
130
  data.profiles.push_back(profile);
130
131
  index++;
131
132
  }
@@ -1,19 +1,19 @@
1
- import os
2
- import sys
3
- from pathlib import Path
4
- import importlib.util
5
-
6
- directory = Path(__file__).parent.absolute()
7
- name = os.path.split(directory)[-1]
8
-
9
- module_ext = ".so"
10
- if sys.platform == "win32":
11
- module_ext = ".pyd"
12
- os.add_dll_directory(directory)
13
-
14
- for file in os.listdir(directory):
15
- filename, ext = os.path.splitext(file)
16
- if ext == module_ext and filename.startswith(name):
17
- target = os.path.join(directory, file)
18
- spec = importlib.util.spec_from_file_location(name, target)
19
- sys.modules[name] = importlib.util.module_from_spec(spec)
1
+ import os
2
+ import sys
3
+ from pathlib import Path
4
+ import importlib.util
5
+
6
+ directory = Path(__file__).parent.absolute()
7
+ name = os.path.split(directory)[-1]
8
+
9
+ module_ext = ".so"
10
+ if sys.platform == "win32":
11
+ module_ext = ".pyd"
12
+ os.add_dll_directory(directory)
13
+
14
+ for file in os.listdir(directory):
15
+ filename, ext = os.path.splitext(file)
16
+ if ext == module_ext and filename.startswith(name):
17
+ target = os.path.join(directory, file)
18
+ spec = importlib.util.spec_from_file_location(name, target)
19
+ sys.modules[name] = importlib.util.module_from_spec(spec)
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libonvif
3
- Version: 3.2.6
3
+ Version: 3.2.8
4
4
  Summary: A python module for communicating with onvif cameras
5
5
  Author: Stephen Rhodes
6
6
  Author-email: Stephen Rhodes <sr99622@gmail.com>
@@ -49,7 +49,6 @@ include/rapidjson/internal/swap.h
49
49
  include/rapidjson/msinttypes/inttypes.h
50
50
  include/rapidjson/msinttypes/stdint.h
51
51
  libonvif/__init__.py
52
- libonvif/libstdc++.so.6
53
52
  libonvif/libxml2.so.16
54
53
  libonvif.egg-info/PKG-INFO
55
54
  libonvif.egg-info/SOURCES.txt
@@ -116,7 +115,6 @@ pybind11/docs/requirements.txt
116
115
  pybind11/docs/upgrade.rst
117
116
  pybind11/docs/_static/css/custom.css
118
117
  pybind11/docs/advanced/classes.rst
119
- pybind11/docs/advanced/deadlock.md
120
118
  pybind11/docs/advanced/embedding.rst
121
119
  pybind11/docs/advanced/exceptions.rst
122
120
  pybind11/docs/advanced/functions.rst
@@ -157,11 +155,6 @@ pybind11/include/pybind11/stl.h
157
155
  pybind11/include/pybind11/stl_bind.h
158
156
  pybind11/include/pybind11/type_caster_pyobject_ptr.h
159
157
  pybind11/include/pybind11/typing.h
160
- pybind11/include/pybind11/warnings.h
161
- pybind11/include/pybind11/conduit/README.txt
162
- pybind11/include/pybind11/conduit/pybind11_conduit_v1.h
163
- pybind11/include/pybind11/conduit/pybind11_platform_abi_id.h
164
- pybind11/include/pybind11/conduit/wrap_include_python_h.h
165
158
  pybind11/include/pybind11/detail/class.h
166
159
  pybind11/include/pybind11/detail/common.h
167
160
  pybind11/include/pybind11/detail/cpp_conduit.h
@@ -187,7 +180,6 @@ pybind11/tests/conftest.py
187
180
  pybind11/tests/constructor_stats.h
188
181
  pybind11/tests/cross_module_gil_utils.cpp
189
182
  pybind11/tests/cross_module_interleaved_error_already_set.cpp
190
- pybind11/tests/custom_exceptions.py
191
183
  pybind11/tests/eigen_tensor_avoid_stl_array.cpp
192
184
  pybind11/tests/env.py
193
185
  pybind11/tests/exo_planet_c_api.cpp
@@ -302,8 +294,6 @@ pybind11/tests/test_vector_unique_ptr_member.cpp
302
294
  pybind11/tests/test_vector_unique_ptr_member.py
303
295
  pybind11/tests/test_virtual_functions.cpp
304
296
  pybind11/tests/test_virtual_functions.py
305
- pybind11/tests/test_warnings.cpp
306
- pybind11/tests/test_warnings.py
307
297
  pybind11/tests/valgrind-numpy-scipy.supp
308
298
  pybind11/tests/valgrind-python.supp
309
299
  pybind11/tests/extra_python_package/pytest.ini
@@ -81,7 +81,7 @@ nox -s build
81
81
  ### Full setup
82
82
 
83
83
  To setup an ideal development environment, run the following commands on a
84
- system with CMake 3.15+:
84
+ system with CMake 3.14+:
85
85
 
86
86
  ```bash
87
87
  python3 -m venv venv
@@ -96,8 +96,8 @@ Tips:
96
96
  * You can use `virtualenv` (faster, from PyPI) instead of `venv`.
97
97
  * You can select any name for your environment folder; if it contains "env" it
98
98
  will be ignored by git.
99
- * If you don't have CMake 3.15+, just add "cmake" to the pip install command.
100
- * You can use `-DPYBIND11_FINDPYTHON=ON` to use FindPython.
99
+ * If you don't have CMake 3.14+, just add "cmake" to the pip install command.
100
+ * You can use `-DPYBIND11_FINDPYTHON=ON` to use FindPython on CMake 3.12+
101
101
  * In classic mode, you may need to set `-DPYTHON_EXECUTABLE=/path/to/python`.
102
102
  FindPython uses `-DPython_ROOT_DIR=/path/to` or
103
103
  `-DPython_EXECUTABLE=/path/to/python`.
@@ -149,8 +149,8 @@ To run the tests, you can "build" the check target:
149
149
  cmake --build build --target check
150
150
  ```
151
151
 
152
- `--target` can be spelled `-t`. You can also run individual tests with these
153
- targets:
152
+ `--target` can be spelled `-t` in CMake 3.15+. You can also run individual
153
+ tests with these targets:
154
154
 
155
155
  * `pytest`: Python tests only, using the
156
156
  [pytest](https://docs.pytest.org/en/stable/) framework
@@ -39,7 +39,6 @@ jobs:
39
39
  - 'pypy-3.8'
40
40
  - 'pypy-3.9'
41
41
  - 'pypy-3.10'
42
- - 'graalpy-24.1'
43
42
 
44
43
  # Items in here will either be added to the build matrix (if not
45
44
  # present), or add new keys to an existing matrix element if all the
@@ -65,31 +64,9 @@ jobs:
65
64
  # Inject a couple Windows 2019 runs
66
65
  - runs-on: windows-2019
67
66
  python: '3.9'
68
- # Inject a few runs with different runtime libraries
69
- - runs-on: windows-2022
70
- python: '3.9'
71
- args: >
72
- -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
73
- - runs-on: windows-2022
74
- python: '3.10'
75
- args: >
76
- -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL
77
- # This needs a python built with MTd
78
- # - runs-on: windows-2022
79
- # python: '3.11'
80
- # args: >
81
- # -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
82
- - runs-on: windows-2022
83
- python: '3.12'
84
- args: >
85
- -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL
86
67
  # Extra ubuntu latest job
87
68
  - runs-on: ubuntu-latest
88
69
  python: '3.11'
89
- exclude:
90
- # The setup-python action currently doesn't have graalpy for windows
91
- - python: 'graalpy-24.1'
92
- runs-on: 'windows-2022'
93
70
 
94
71
 
95
72
  name: "🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}"
@@ -334,6 +311,11 @@ jobs:
334
311
  fail-fast: false
335
312
  matrix:
336
313
  clang:
314
+ - 3.6
315
+ - 3.7
316
+ - 3.9
317
+ - 7
318
+ - 9
337
319
  - dev
338
320
  std:
339
321
  - 11
@@ -342,6 +324,8 @@ jobs:
342
324
  include:
343
325
  - clang: 5
344
326
  std: 14
327
+ - clang: 10
328
+ std: 17
345
329
  - clang: 11
346
330
  std: 20
347
331
  - clang: 12
@@ -519,6 +503,10 @@ jobs:
519
503
  fail-fast: false
520
504
  matrix:
521
505
  include:
506
+ - { gcc: 7, std: 11 }
507
+ - { gcc: 7, std: 17 }
508
+ - { gcc: 8, std: 14 }
509
+ - { gcc: 8, std: 17 }
522
510
  - { gcc: 9, std: 20 }
523
511
  - { gcc: 10, std: 17 }
524
512
  - { gcc: 10, std: 20 }
@@ -739,9 +727,9 @@ jobs:
739
727
 
740
728
  # This tests an "install" with the CMake tools
741
729
  install-classic:
742
- name: "🐍 3.9 • Debian • x86 • Install"
730
+ name: "🐍 3.7 • Debian • x86 • Install"
743
731
  runs-on: ubuntu-latest
744
- container: i386/debian:bullseye
732
+ container: i386/debian:buster
745
733
 
746
734
  steps:
747
735
  - uses: actions/checkout@v1 # v1 is required to run inside docker
@@ -821,6 +809,7 @@ jobs:
821
809
  fail-fast: false
822
810
  matrix:
823
811
  python:
812
+ - '3.7'
824
813
  - '3.8'
825
814
  - '3.9'
826
815
  - '3.10'
@@ -838,6 +827,8 @@ jobs:
838
827
  args: -DCMAKE_CXX_STANDARD=20
839
828
  - python: '3.8'
840
829
  args: -DCMAKE_CXX_STANDARD=17
830
+ - python: '3.7'
831
+ args: -DCMAKE_CXX_STANDARD=14
841
832
 
842
833
 
843
834
  name: "🐍 ${{ matrix.python }} • MSVC 2019 • x86 ${{ matrix.args }}"
@@ -31,7 +31,7 @@ jobs:
31
31
  include:
32
32
  - runs-on: ubuntu-20.04
33
33
  arch: x64
34
- cmake: "3.15"
34
+ cmake: "3.5"
35
35
 
36
36
  - runs-on: ubuntu-20.04
37
37
  arch: x64
@@ -39,22 +39,22 @@ jobs:
39
39
 
40
40
  - runs-on: macos-13
41
41
  arch: x64
42
- cmake: "3.15"
42
+ cmake: "3.7"
43
43
 
44
44
  - runs-on: windows-2019
45
45
  arch: x64 # x86 compilers seem to be missing on 2019 image
46
46
  cmake: "3.18"
47
47
 
48
- name: 🐍 3.8 • CMake ${{ matrix.cmake }} • ${{ matrix.runs-on }}
48
+ name: 🐍 3.7 • CMake ${{ matrix.cmake }} • ${{ matrix.runs-on }}
49
49
  runs-on: ${{ matrix.runs-on }}
50
50
 
51
51
  steps:
52
52
  - uses: actions/checkout@v4
53
53
 
54
- - name: Setup Python 3.8
54
+ - name: Setup Python 3.7
55
55
  uses: actions/setup-python@v5
56
56
  with:
57
- python-version: 3.8
57
+ python-version: 3.7
58
58
  architecture: ${{ matrix.arch }}
59
59
 
60
60
  - name: Prepare env
@@ -22,7 +22,7 @@ jobs:
22
22
  submodules: true
23
23
  fetch-depth: 0
24
24
 
25
- - uses: pypa/cibuildwheel@v2.21
25
+ - uses: pypa/cibuildwheel@v2.20
26
26
  env:
27
27
  PYODIDE_BUILD_EXPORTS: whole_archive
28
28
  with:
@@ -103,7 +103,7 @@ jobs:
103
103
  - uses: actions/download-artifact@v4
104
104
 
105
105
  - name: Generate artifact attestation for sdist and wheel
106
- uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4
106
+ uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
107
107
  with:
108
108
  subject-path: "*/pybind11*"
109
109
 
@@ -25,14 +25,14 @@ repos:
25
25
 
26
26
  # Clang format the codebase automatically
27
27
  - repo: https://github.com/pre-commit/mirrors-clang-format
28
- rev: "v19.1.3"
28
+ rev: "v18.1.8"
29
29
  hooks:
30
30
  - id: clang-format
31
31
  types_or: [c++, c, cuda]
32
32
 
33
33
  # Ruff, the Python auto-correcting linter/formatter written in Rust
34
34
  - repo: https://github.com/astral-sh/ruff-pre-commit
35
- rev: v0.7.2
35
+ rev: v0.6.3
36
36
  hooks:
37
37
  - id: ruff
38
38
  args: ["--fix", "--show-fixes"]
@@ -40,7 +40,7 @@ repos:
40
40
 
41
41
  # Check static types with mypy
42
42
  - repo: https://github.com/pre-commit/mirrors-mypy
43
- rev: "v1.13.0"
43
+ rev: "v1.11.2"
44
44
  hooks:
45
45
  - id: mypy
46
46
  args: []
@@ -62,7 +62,7 @@ repos:
62
62
 
63
63
  # Standard hooks
64
64
  - repo: https://github.com/pre-commit/pre-commit-hooks
65
- rev: "v5.0.0"
65
+ rev: "v4.6.0"
66
66
  hooks:
67
67
  - id: check-added-large-files
68
68
  - id: check-case-conflict
@@ -79,7 +79,7 @@ repos:
79
79
 
80
80
  # Also code format the docs
81
81
  - repo: https://github.com/adamchainz/blacken-docs
82
- rev: "1.19.1"
82
+ rev: "1.18.0"
83
83
  hooks:
84
84
  - id: blacken-docs
85
85
  additional_dependencies:
@@ -108,7 +108,7 @@ repos:
108
108
 
109
109
  # Checks the manifest for missing files (native support)
110
110
  - repo: https://github.com/mgedmin/check-manifest
111
- rev: "0.50"
111
+ rev: "0.49"
112
112
  hooks:
113
113
  - id: check-manifest
114
114
  # This is a slow hook, so only run this if --hook-stage manual is passed
@@ -142,14 +142,14 @@ repos:
142
142
 
143
143
  # PyLint has native support - not always usable, but works for us
144
144
  - repo: https://github.com/PyCQA/pylint
145
- rev: "v3.3.1"
145
+ rev: "v3.2.7"
146
146
  hooks:
147
147
  - id: pylint
148
148
  files: ^pybind11
149
149
 
150
150
  # Check schemas on some of our YAML files
151
151
  - repo: https://github.com/python-jsonschema/check-jsonschema
152
- rev: 0.29.4
152
+ rev: 0.29.2
153
153
  hooks:
154
154
  - id: check-readthedocs
155
155
  - id: check-github-workflows
@@ -10,7 +10,16 @@ if(NOT CMAKE_VERSION VERSION_LESS "3.27")
10
10
  cmake_policy(GET CMP0148 _pybind11_cmp0148)
11
11
  endif()
12
12
 
13
- cmake_minimum_required(VERSION 3.15...3.30)
13
+ cmake_minimum_required(VERSION 3.5)
14
+
15
+ # The `cmake_minimum_required(VERSION 3.5...3.29)` syntax does not work with
16
+ # some versions of VS that have a patched CMake 3.11. This forces us to emulate
17
+ # the behavior using the following workaround:
18
+ if(${CMAKE_VERSION} VERSION_LESS 3.29)
19
+ cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
20
+ else()
21
+ cmake_policy(VERSION 3.29)
22
+ endif()
14
23
 
15
24
  if(_pybind11_cmp0148)
16
25
  cmake_policy(SET CMP0148 ${_pybind11_cmp0148})
@@ -18,7 +27,9 @@ if(_pybind11_cmp0148)
18
27
  endif()
19
28
 
20
29
  # Avoid infinite recursion if tests include this as a subdirectory
21
- include_guard(GLOBAL)
30
+ if(DEFINED PYBIND11_MASTER_PROJECT)
31
+ return()
32
+ endif()
22
33
 
23
34
  # Extract project version from source
24
35
  file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/include/pybind11/detail/common.h"
@@ -63,6 +74,14 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
63
74
 
64
75
  set(PYBIND11_MASTER_PROJECT ON)
65
76
 
77
+ if(OSX AND CMAKE_VERSION VERSION_LESS 3.7)
78
+ # Bug in macOS CMake < 3.7 is unable to download catch
79
+ message(WARNING "CMAKE 3.7+ needed on macOS to download catch, and newer HIGHLY recommended")
80
+ elseif(WINDOWS AND CMAKE_VERSION VERSION_LESS 3.8)
81
+ # Only tested with 3.8+ in CI.
82
+ message(WARNING "CMAKE 3.8+ tested on Windows, previous versions untested")
83
+ endif()
84
+
66
85
  message(STATUS "CMake ${CMAKE_VERSION}")
67
86
 
68
87
  if(CMAKE_CXX_STANDARD)
@@ -114,7 +133,8 @@ cmake_dependent_option(
114
133
  "Install pybind11 headers in Python include directory instead of default installation prefix"
115
134
  OFF "PYBIND11_INSTALL" OFF)
116
135
 
117
- option(PYBIND11_FINDPYTHON "Force new FindPython" ${_pybind11_findpython_default})
136
+ cmake_dependent_option(PYBIND11_FINDPYTHON "Force new FindPython" ${_pybind11_findpython_default}
137
+ "NOT CMAKE_VERSION VERSION_LESS 3.12" OFF)
118
138
 
119
139
  # Allow PYTHON_EXECUTABLE if in FINDPYTHON mode and building pybind11's tests
120
140
  # (makes transition easier while we support both modes).
@@ -143,9 +163,6 @@ set(PYBIND11_HEADERS
143
163
  include/pybind11/chrono.h
144
164
  include/pybind11/common.h
145
165
  include/pybind11/complex.h
146
- include/pybind11/conduit/pybind11_conduit_v1.h
147
- include/pybind11/conduit/pybind11_platform_abi_id.h
148
- include/pybind11/conduit/wrap_include_python_h.h
149
166
  include/pybind11/options.h
150
167
  include/pybind11/eigen.h
151
168
  include/pybind11/eigen/common.h
@@ -165,11 +182,10 @@ set(PYBIND11_HEADERS
165
182
  include/pybind11/stl_bind.h
166
183
  include/pybind11/stl/filesystem.h
167
184
  include/pybind11/type_caster_pyobject_ptr.h
168
- include/pybind11/typing.h
169
- include/pybind11/warnings.h)
185
+ include/pybind11/typing.h)
170
186
 
171
187
  # Compare with grep and warn if mismatched
172
- if(PYBIND11_MASTER_PROJECT)
188
+ if(PYBIND11_MASTER_PROJECT AND NOT CMAKE_VERSION VERSION_LESS 3.12)
173
189
  file(
174
190
  GLOB_RECURSE _pybind11_header_check
175
191
  LIST_DIRECTORIES false
@@ -187,7 +203,10 @@ if(PYBIND11_MASTER_PROJECT)
187
203
  endif()
188
204
  endif()
189
205
 
190
- list(TRANSFORM PYBIND11_HEADERS PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
206
+ # CMake 3.12 added list(TRANSFORM <list> PREPEND
207
+ # But we can't use it yet
208
+ string(REPLACE "include/" "${CMAKE_CURRENT_SOURCE_DIR}/include/" PYBIND11_HEADERS
209
+ "${PYBIND11_HEADERS}")
191
210
 
192
211
  # Cache variable so this can be used in parent projects
193
212
  set(pybind11_INCLUDE_DIR
@@ -257,11 +276,25 @@ if(PYBIND11_INSTALL)
257
276
  tools/${PROJECT_NAME}Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
258
277
  INSTALL_DESTINATION ${PYBIND11_CMAKECONFIG_INSTALL_DIR})
259
278
 
260
- # CMake natively supports header-only libraries
261
- write_basic_package_version_file(
262
- ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
263
- VERSION ${PROJECT_VERSION}
264
- COMPATIBILITY AnyNewerVersion ARCH_INDEPENDENT)
279
+ if(CMAKE_VERSION VERSION_LESS 3.14)
280
+ # Remove CMAKE_SIZEOF_VOID_P from ConfigVersion.cmake since the library does
281
+ # not depend on architecture specific settings or libraries.
282
+ set(_PYBIND11_CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
283
+ unset(CMAKE_SIZEOF_VOID_P)
284
+
285
+ write_basic_package_version_file(
286
+ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
287
+ VERSION ${PROJECT_VERSION}
288
+ COMPATIBILITY AnyNewerVersion)
289
+
290
+ set(CMAKE_SIZEOF_VOID_P ${_PYBIND11_CMAKE_SIZEOF_VOID_P})
291
+ else()
292
+ # CMake 3.14+ natively supports header-only libraries
293
+ write_basic_package_version_file(
294
+ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
295
+ VERSION ${PROJECT_VERSION}
296
+ COMPATIBILITY AnyNewerVersion ARCH_INDEPENDENT)
297
+ endif()
265
298
 
266
299
  install(
267
300
  FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
@@ -34,7 +34,7 @@ dependency.
34
34
  Think of this library as a tiny self-contained version of Boost.Python
35
35
  with everything stripped away that isn't relevant for binding
36
36
  generation. Without comments, the core header files only require ~4K
37
- lines of code and depend on Python (3.8+, or PyPy) and the C++
37
+ lines of code and depend on Python (3.7+, or PyPy) and the C++
38
38
  standard library. This compact implementation was possible thanks to
39
39
  some C++11 language features (specifically: tuples, lambda functions and
40
40
  variadic templates). Since its creation, this library has grown beyond
@@ -79,7 +79,7 @@ Goodies
79
79
  In addition to the core functionality, pybind11 provides some extra
80
80
  goodies:
81
81
 
82
- - Python 3.8+, and PyPy3 7.3 are supported with an implementation-agnostic
82
+ - Python 3.7+, and PyPy3 7.3 are supported with an implementation-agnostic
83
83
  interface (pybind11 2.9 was the last version to support Python 2 and 3.5).
84
84
 
85
85
  - It is possible to bind C++11 lambda functions with captured
@@ -826,7 +826,8 @@ An instance can now be pickled as follows:
826
826
  always use the latest available version. Beware: failure to follow these
827
827
  instructions will cause important pybind11 memory allocation routines to be
828
828
  skipped during unpickling, which will likely lead to memory corruption
829
- and/or segmentation faults.
829
+ and/or segmentation faults. Python defaults to version 3 (Python 3-3.7) and
830
+ version 4 for Python 3.8+.
830
831
 
831
832
  .. seealso::
832
833