Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed setup with python3 #6

Closed
wants to merge 5 commits into from
Closed

Conversation

weddige
Copy link

@weddige weddige commented Nov 19, 2013

Nachdem zumindest die PLZ-Datenbank (Die Komandozeilentools habe ich nicht getestet) ohne Probleme unter python3 laufen, habe ich das Installationsscript für eine Verwendung unter python3 angepasst.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling e4831ce on djangsters:master into 1d2e351 on mdornseif:master.

@weddige
Copy link
Author

weddige commented Oct 1, 2014

Die Komandozeilentools hatten noch Probleme unter python3. Mein Fix sollte ab Python 2.6 funktionieren.

Was Travis da zu bemängeln hat, weiß ich gerade nicht.

Locations outside of Germany have to be created explicitly:
>>> import pygeodb
>>> w = pygeodb.PLZ('1010', land='AT')
>>> m = pygeodb.PLZ('80809', land='DE')
>>> pygeodb.distance(w, m)
357568
@weddige weddige closed this Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants