Skip to content

python3 support? #100

@pfaucon

Description

@pfaucon

I'm looking to rewrite some of the scripts we were using for fast5 parsing, and in particular to just borrow functionality from poretools but I'm having trouble running with python3. In particular pip install fails because setup.py has a "print version" instead of "print(version)" I'll submit a fix for that, but I wanted to see if I can get everything up to speed at the same time. In particular I'm seeing the error below about "scripts" missing, this error does not show up in python2.7.

It looks like there is no support for python 3 within the package (imports are relative, prints and exceptions lack parenthesis etc...) is there interest from the group in doing the conversion?

pfaucon@pfaucon-ubuntu:~/Desktop/poretools$ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.

import poretools
Traceback (most recent call last):
File "", line 1, in
File "/home/pfaucon/Desktop/poretools/poretools/init.py", line 3, in
import scripts
ImportError: No module named 'scripts'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions