Hi All, I am trying to add a module written in c to python source on Win32 using VC++ 9 Pro. I went through the available documentation but there doesn't seem to be any clear instruction on how to do that.
Basically I opened pcbuild.sln in vc++, added the c file (xxx.c) to Modules/ directory. Building the solution after that works fine: xxx.c is compiled (no errors, no warnings) and the python executable gets created. But I am not able to import the module defined in xxx.c using that executable. Do I need to register this module some place else too (setup.py?) ? Any hints and pointers will be appreciated :) --shashank
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com