Skip to content
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

setup.py does not support Python 3.5 #10

Closed
prehensilecode opened this issue Jun 8, 2016 · 3 comments
Closed

setup.py does not support Python 3.5 #10

prehensilecode opened this issue Jun 8, 2016 · 3 comments

Comments

@prehensilecode
Copy link

With Python 3.5.0, running python3.5 setup.py raises error:

$ python3.5 setup.py build
  File "setup.py", line 7
    print "Error: you must install SWIG first."
                                              ^
SyntaxError: Missing parentheses in call to 'print'
@macd
Copy link

macd commented Jun 8, 2016

A more serious error is that the file numpy_helper.hpp uses the function PyString_FromStringAndSize which is not available in Python 3

@hnykda
Copy link

hnykda commented Jun 8, 2016

There are probably more - e.g. xrange at https://github.com/wiseio/paratext/blob/master/python/paratext/core.py#L192. I am going to add new issue with Python 3.5 support.

@deads
Copy link
Contributor

deads commented Jun 13, 2016

This is now fixed in master.

@deads deads closed this as completed Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants