mfitzp / pathomx

Workflow based scientific analysis built on Python
https://www.mfitzp.com/tools/pathomx/
GNU General Public License v3.0
91 stars 30 forks source link

Python 3 compatibility #12

Closed mfitzp closed 10 years ago

mfitzp commented 10 years ago

Linux support would be a lot easier if Pathomx was Python 3 compatible. Some dependent libraries (e.g. nmrglue) do not yet support Python 3. We can either help them convert, or accept that some tools won't function on these builds.

mfitzp commented 10 years ago

This is now implemented and has been merged into master branch. Support for Python 3 in core and most of the core plugins (that do not depend on external non-compatible libraries). These incompatibilities do mean a limited toolset but some can be addressed (as they're my own work) or we can help other projects to convert as necessary.

Conversion was performed using 2to3 then fixing the resulting code to work on Python 2 in a compatible way. It has been tested to run on Python 3 on Ubuntu Linux.