This is correct if you just call setup.py with Python 3
Using a test program
print('hello',5,end='**\n')
Running Cython on it without specifying 3 gives
Error compiling Cython file: ------------------------------------------------------------ ... print('hello',5,end='**\n') ^ ------------------------------------------------------------ print_something.pyx:1:19: Expected ')', found '='
when compiling with setup.py, called with python3, it builds the module correctly.
DavidW
source share