diff --git a/src/python/library/tritonclient/__init__.py b/src/python/library/tritonclient/__init__.py index 0fe49ac32..674b238f1 100755 --- a/src/python/library/tritonclient/__init__.py +++ b/src/python/library/tritonclient/__init__.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -25,3 +25,9 @@ # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +from importlib.metadata import version + +__version__ = version("tritonclient") + +del version