Re: [Python-Dev] Adding a C Module to python source distribution

2009-08-28 Thread Christian Heimes
Shashank Singh wrote: > Do I need to register this module some place else too (setup.py?) ? > > Any hints and pointers will be appreciated :) You have to add the module and its initializer to PC/config.c, too. Christian ___ Python-Dev mailing list Pyth

[Python-Dev] Adding a C Module to python source distribution

2009-08-28 Thread Shashank Singh
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. Bui