Skip to content

Commit 82f2fb3

Browse files
committed
Read module version from setup.py
1 parent 7858a49 commit 82f2fb3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gcloud/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""GCloud API access in idiomatic Python."""
22

3+
from pkg_resources import get_distribution
34

4-
__version__ = '0.02.2'
5+
__version__ = get_distribution('gcloud').version

0 commit comments

Comments
 (0)