Closed astrofrog closed 10 years ago
@ChrisBeaumont - if the tests pass, ok to merge? The six.py module is pretty standard, a lot of other projects are using this to write Python 2 and 3-compatible code.
I haven't used 2to3 or six.py, so I'm fine with whatever you think is best
Ok - using six
is preferable if possible because one can import the source directly into Python 2 or 3, whereas at the moment one needs to install the code in Python 3 for it to work (importing from the source directory won't work because 2to3 only converts the code when building). Also, currently if you install the package into Python 2 then 3 then 2to3 doesn't get run unless you explicitly remove the build
directory between the builds.
With this change, we should no longer need 2to3