Added partpy to the requirement
Further refined the ninja grammar spec file