aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2019-01-30 18:31:26 +1100
committermorefigs <morefigs@gmail.com>2019-01-30 18:31:26 +1100
commitc11421c950d0512886d5b967092e7a8e63fbf5e9 (patch)
treeee9edfb90269a749f3933aa6ce51cc0b9566f919
parentb22cf8e19541627b5c9b68d24416cc27213e8e6f (diff)
downloadpymba-c11421c950d0512886d5b967092e7a8e63fbf5e9.tar.gz
pymba-c11421c950d0512886d5b967092e7a8e63fbf5e9.zip
specify vimba c api version
-rw-r--r--README.md5
-rw-r--r--examples/show_version.py2
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()}')