victorlei / smop

Small Matlab to Python compiler
MIT License
1.08k stars 409 forks source link

Python 2 print statement in test_primes.py #173

Open amole-arup opened 3 years ago

amole-arup commented 3 years ago

When installing smop, I am getting the following error (presumably simply an old py2 print statement):

byte-compiling build\bdist.win-amd64\egg\smop\test_primes.py to test_primes.cpython-38.pyc
  File "build\bdist.win-amd64\egg\smop\test_primes.py", line 2
    print liboctave.primes(10000)
          ^
SyntaxError: invalid syntax

byte-compiling build\bdist.win-amd64\egg\smop\test_solver.py to test_solver.cpython-38.pyc
GBR-613 commented 2 years ago

@victorlei I believe vast majority of people already moved to Python3. I suggest to fix this, others similar change Makefile accordingly.