Skip to content

Commit 9524f30

Browse files
authored
get version from toml (#76)
now, just one place
1 parent 58a2d17 commit 9524f30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redisai/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from .client import Client # noqa
2+
import pkg_resources
23

3-
__version__ = "1.0.2"
4+
__version__ = pkg_resources.get_distribution('redisai').version

0 commit comments

Comments
 (0)