Skip to content

change relational imports for Python 3 compatibility#74

Open
Sir-Nightmare wants to merge 2 commits intoboakley:masterfrom
Sir-Nightmare:master
Open

change relational imports for Python 3 compatibility#74
Sir-Nightmare wants to merge 2 commits intoboakley:masterfrom
Sir-Nightmare:master

Conversation

@Sir-Nightmare
Copy link
Copy Markdown

I had problems with launching hub with Python 3.5, so I changed imports according to python docs.
https://docs.python.org/3/tutorial/modules.html#intra-package-references

@databobek
Copy link
Copy Markdown

@boakley this code is necessary, because in this scenario, py3 is looking for kwdb in PYTHONPATH while it is a local file. Adding the code proposed by @Sir-Nightmare tells py3: "it's here, don't look anywhere else". This is the reason for import kwdb crash.

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.

3 participants