Wen, For questions relating to development and debugging of native Python extensions under Windows, I suggest heading over the main Python web site and mailing lists. We don't have any expertise in that area.
Why don't we? Because we do most PyMOL development on Mac OS and Linux, using free or open-source tools, such as GCC, GDB, and Apple's wonderful XCode, with CHUD and OpenGL profilers. Even on Windows, we are now bypassing Microsoft Visual Tools altogether and using MingW and GCC to build our native Java extension. Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 USA . Biz:(650)-872-0942 Tech:(650)-872-0834 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:war...@delsci.com > -----Original Message----- > From: pymol-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of > wenming hu > Sent: Wednesday, August 24, 2005 6:29 PM > To: Warren DeLano; pymol-users@lists.sourceforge.net > Subject: [PyMOL] Re: RE: [PyMOL] question about _cmd.pyd > > I see. thank you for your answer. and i'm wondering, how do u > develop python modules like _cmd.pyd? only via setup.py, and > type python setup.py build to compile it? how do u debug it > on the procudure of development? for me, it's not easy to > develop _cmd.pyd only via setup.py script, i think, there > must have some other way to debug python extend modules. > > thank you. > > > Warren DeLano <war...@delsci.com> > > > Wen, > > The only form of end-user PyMOL compilation we support > on Windows is via Python's distutils facility. > > Assuming that your system paths are set up correctly, > distutils compilations will work fine with msvc6 -- no > Makefile is required. > > Your own c/c++ code should be built as a standalone DLL > -- separate from _cmd.*, and you should use the Python > interpreter to bring all of the native components together at runtime. > > Cheers, > Warren > > -- > Warren L. DeLano, Ph.D. > Principal Scientist > > . DeLano Scientific LLC > . 400 Oyster Point Blvd., Suite 213 > . South San Francisco, CA 94080 USA > . Biz:(650)-872-0942 Tech:(650)-872-0834 > . Fax:(650)-872-0273 Cell:(650)-346-1154 > . mailto:war...@delsci.com > > > ________________________________ > > DO YOU YAHOO!? > 雅虎免费G邮箱-No.1的防毒防垃圾超大邮箱 <http://cn.mail.yahoo.com> >