google / open-location-code

Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.
https://plus.codes
Apache License 2.0
4.06k stars 471 forks source link

Fix __init__ to allow for proper package use #491

Open NexusXe opened 2 years ago

NexusXe commented 2 years ago

Prior to this, init running would merely create an empty module named openlocationcode with no attributes on Python 3.10 and 3.9. I haven't tested if this explicitly works on 3.8 and older, but it should.

google-cla[bot] commented 2 years ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

NexusXe commented 1 year ago

I've signed the CLA now.