[python] add pymacs to tooling