Make the nupic build more pythonic