azavea / python-omgeo

OMGeocoder - A python geocoding abstraction layer
http://python-omgeo.readthedocs.io/en/latest/
MIT License
36 stars 14 forks source link

Add Python 3 support and fix failing test for Google country filter #47

Closed flibbertigibbet closed 6 years ago

flibbertigibbet commented 6 years ago

Test disambiguation of a place name with country name; do not assume default country selection. Fixes a test that fails when the Google geocoder key is set. Fixes #45.

Add Python 3 support by running 2to3 and adding backwards support for Python 2 in imports. Adds python 3 to test matrix run on Travis.

Closes #16 Connects #43

flibbertigibbet commented 6 years ago

Ran 2to3 and included the import fix-ups from #43 to run the full test suite on this branch with both python 2 and 3.

flibbertigibbet commented 6 years ago

Added python version to deploy build, and also added empty requirements.txt to hopefully fix the broken Read the Docs builds from #39.