set up python for use with makefile