Skip to content

Commit

Permalink
Use importlib to fetch the version in __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
kiudee committed Jun 26, 2021
1 parent ac16842 commit 361a9e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tune/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""Top-level package for Chess Tuning Tools."""
from importlib.metadata import version

__author__ = """Karlson Pfannschmidt"""
__email__ = "kiudee@mail.upb.de"
__version__ = "0.7.2"
__version__ = version(__name__)

from tune.io import InitStrings, load_tuning_config, parse_ranges
from tune.local import (
Expand Down

0 comments on commit 361a9e1

Please sign in to comment.