Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Merged
Changes from 1 commit
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
9 changes: 5 additions & 4 deletions google/cloud/storage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
machine).
"""


from pkg_resources import get_distribution

__version__ = get_distribution("google-cloud-storage").version
import pkg_resources
try:
__version__ = pkg_resources.get_distribution("google-cloud-storage").version
except pkg_resources.DistributionNotFound:
__version__ = None
Comment thread
crwilcox marked this conversation as resolved.
Outdated

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