#7 Triceratops v0.1.7: problems in wscript

1.0
open
nobody
None
2013-07-06
2013-07-06
odamite
No

Hello,

I'm running Arch Linux which is a rolling release distro so it has the latest software. When trying to build Triceratops v0.1.7 from source, there were some problems in the wscript around line 32. First off, it seems that there's combination of tabs and spaces in if-condition.

Secondly, since I'm running python3, the print function has wrong format (no parentheses around the string) and detecting 64-bit system with sys.maxint doesn't work because the variable was removed in python3. Alternatively either of the following should be used:

if sys.maxsize > 2**32:

import struct
if struct.calcsize('P') * 8 == 64:

In the end, I got your software up and running and I'm really impressed by the sounds it can produce. It would be nice if you could fix the problems I presented so other people in the future wouldn't run into any of them. Thank you.

Discussion

  • odamite
    odamite
    2013-07-06

    Of course running python2 is also possible but python3 has been out for quite some time already and python2 is not under active development anymore. I think that people should just ditch python2 and move on to the version 3.

     


Anonymous


Cancel   Add attachments