fix setup.py and ex_pn.py, add MANIFEST.in