Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions google/cloud/storage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
machine).
"""

import pkg_resources

from pkg_resources import get_distribution

__version__ = get_distribution("google-cloud-storage").version
try:
__version__ = pkg_resources.get_distribution("google-cloud-storage").version
except pkg_resources.DistributionNotFound:
__version__ = None

from google.cloud.storage.batch import Batch
from google.cloud.storage.blob import Blob
Expand Down