Skip to content

Commit

Permalink
fix version fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderGetka-cbica committed Dec 6, 2024
1 parent 8b8a412 commit 761194e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spare_scores/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

from .spare import spare_test, spare_train

VERSION = pkg_resources.require("spare_scores")[0].version
from importlib.metadata import version
VERSION = version("spare_scores")


def main() -> None:
Expand Down

0 comments on commit 761194e

Please sign in to comment.