How to compile a .pyd file??
have a look at the pdf books provided by forum nokia. there u will find how to compile a .pyd.
moreover compiling a pyd file is very easy.
what u wnt to do is just install ur .py file as a library script rather than a python script.
try it if not able to do it post for more help.