-
Notifications
You must be signed in to change notification settings - Fork 30
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
Compile for Python 3.x #8
Comments
Trying this on this branch: https://github.com/demisjohn/CAMFR/tree/py35_compat |
Stuff To fix:
See these links for fixes: |
After fixing "TabErrors", compiling (and failing due to above numpy issue), ahve a bunch of indentation errors!
Looks like the original files will randomly switch between using |
@demisjohn: Run 'diff' on py35 and py27 source files, look for indentation mistakes (I may have introduced some) Do the diff in GitHub: Here's the diff link: |
Corrected indentations to match old master version, in 7e1224c Some of the loops and function defs had been incorrectly indented, hopefully they are fixed. Have NOT yet run tests to confirm they're all ok. |
Regarding numpy error, it seems that, new in Python3, numpy's C library returns an Let me know if there's some pressing reason we should still support python 2.x. |
Don't see any real reason on maintaining Python 2.x support. Maybe do a final 2.x-compatible release, and then drop 2.x? |
Online articles indicate that one should really just move to Python3.x, so i will try to do that. |
Good idea @kitchenknif , I'll make a "release" for py2.x and call it done. May keep py2.7 alive for a short while longer as I try to get actual work done with CAMFR before the py3.x version is actually working. |
just to keep track on this issue about the last changes for CAMFR users:
one single test unit is not passing:
I will complete with additional cleanup on setup.py - on from if the last test unit passes, from my perspective, this branch will be fully functional. |
From @demisjohn on February 28, 2018 8:23
Will try Python 3.5 first since I have that installed.
Copied from original issue: #4
The text was updated successfully, but these errors were encountered: