Skip to content

Commit

Permalink
Removed use of pkg_resources googleapis#245
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Casanovas committed Jul 1, 2019
1 parent 4c35686 commit 233564c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions O365/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
from pkg_resources import get_distribution, DistributionNotFound
__version__ = '1.1.9'

try:
__version__ = get_distribution(__name__.split('.')[0]).version
except DistributionNotFound:
# Package is not installed.
__version__ = None

0 comments on commit 233564c

Please sign in to comment.