building makefile and setup.py for pypi installation