Closed willjp closed 7 years ago
Python2 sort of works now and I found a few problems while testing:
Python3 works correctly so far and I can't test PySide2 on either version right now.
Awesome. Thanks a lot!
Oops, I think I'll need to revert this merge in favor of the other branch. I'll fix it.
This merge has now been reverted.
Changes:
2x New Dependencies:
six
python2/3 compatibility moduleQt.py
Pyside(Qt4)/PySide2(Qt5) compatibility moduleprint to print()
python3-style relative imports
from .module import func
filter() to list-comprehension
I replaced your use of filter() with list-comprehensions. In python2 filter() returned a list, in python3 it returns an iterable. The output was being treated as lists in the code, so I kept them that way.
QApplication reused in tests if Maya, IPython, etc...
Minimal setup.py