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的防毒防垃圾超大邮箱  

Reply via email to