Skip to content

Commit 3c0740a

Browse files
committed
Tag version 2.0
1 parent f295b6d commit 3c0740a

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎googlemaps/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
# the License.
1616
#
1717

18+
__version__ = "2.0"
19+
1820
from googlemaps.client import Client
1921
import googlemaps.exceptions
2022

2123
# Allow sphinx to pick up these symbols for the documentation.
22-
__all__ = ['Client']
24+
__all__ = ["Client"]

‎googlemaps/client.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
from urllib import urlencode
3838

3939

40-
_VERSION = "0.1"
41-
_USER_AGENT = "GoogleGeoApiClientPython/%s" % _VERSION
40+
_USER_AGENT = "GoogleGeoApiClientPython/%s" % googlemaps.__version__
4241
_BASE_URL = "https://maps.googleapis.com"
4342

4443
_RETRIABLE_STATUSES = set([500, 503, 504])

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
]
1919

2020
setup(name='googlemaps',
21-
version='0.1',
21+
version='2.0',
2222
description='API Client library for Google Maps',
2323
scripts=[],
2424
url='https://github.com/googlemaps/google-maps-services-python',

0 commit comments

Comments
 (0)