Skip to content

Commit

Permalink
Merge pull request #19 from quant-aq/dhhagan-fix-version
Browse files Browse the repository at this point in the history
Updated version getting method
  • Loading branch information
dhhagan authored Sep 4, 2022
2 parents 7973297 + aa4165e commit b39a444
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 b39a444

Please sign in to comment.