Skip to content

Commit

Permalink
Updated version getting method
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhagan committed Sep 4, 2022
1 parent 74d0afb commit aa4165e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
9 changes: 5 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions quantaq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# -*- coding: utf-8 -*-
try:
from importlib_metadata import version
except ImportError:
from importlib.metadata import version

from pkg_resources import get_distribution
import quantaq

__version__ = version("py-quantaq")
__version__ = get_distribution("py-quantaq").version

from .client import (
ClientBase,
Expand Down

0 comments on commit aa4165e

Please sign in to comment.