Skip to content

Commit

Permalink
more robust version extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Sep 27, 2020
1 parent 3f75d90 commit 3646674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pynitrokey/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
import pathlib


__version__ = open(pathlib.Path(__file__).parent / "VERSION").read().strip()
__version_path__ = pathlib.Path(__file__).parent.resolve().absolute() / "VERSION"
__version__ = open(__version_path__).read().strip()


del pathlib
Expand Down

0 comments on commit 3646674

Please sign in to comment.