python extension build and install script