parse the version file instead of importing
Python 3 no longer allows implicit relative imports: https://docs.python.org/release/3.0.1/whatsnew/3.0.html#removed-syntax Instead of importing the version file we just parse it. By keeping the extension ".py" we make it so that it will be distributed along with the rest of the package.
Please register or sign in to comment