You need to separate two different issues - running pocketsphinx on Windows with Python and running pocketsphinx on Raspberry Pi with Python.
To run pocketsphinx on Windows with python you need to compile and install python module for Windows. You can do that with the python script python/setup_win32.py. Before running this script you need to compile pocketsphinx first according to the instructions. This script will compile and install python module into required place. For more information on this script read python distutils documentation.
To use pocketsphinx python module on Raspberry Pi which is a normal Linux system you can just compile and install pocketsphinx according to the documentation with standard configure && make && make install. The python module will be compiled automatically and should work as expected.
For more information about Python modules please read the documentation: