From c11421c950d0512886d5b967092e7a8e63fbf5e9 Mon Sep 17 00:00:00 2001 From: morefigs Date: Wed, 30 Jan 2019 18:31:26 +1100 Subject: specify vimba c api version --- README.md | 5 +++-- examples/show_version.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38f2722..04fe49a 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,10 @@ For Python 2 and for backwards compatibility with older versions of Pymba use th If Vimba and Pymba are installed correctly, then the following code should give the installed Vimba version. No camera is needed. - from pymba import Vimba + from pymba import Vimba, PYMBA_VERSION - print(Vimba.version()) + print('Pymba version:', PYMBA_VERSION) + print('Vimba C API version:', Vimba.version()) ## Usage examples diff --git a/examples/show_version.py b/examples/show_version.py index 643dc1c..386d622 100644 --- a/examples/show_version.py +++ b/examples/show_version.py @@ -3,4 +3,4 @@ from pymba import Vimba, PYMBA_VERSION if __name__ == '__main__': print(f'Pymba version: {PYMBA_VERSION}') - print(f'Vimba version: {Vimba.version()}') + print(f'Vimba C API version: {Vimba.version()}') -- cgit v1.2.3