Fred L. Drake
Fred L. Drake, Jr." <firstname.lastname@example.org
Wed, 28 Apr 1999 22:43:28 -0400 (EDT)
Gerardo Alberto González Urtecho writes:
> The problem that I have is that I try to link a C module with
> Python. I seached in the "Extending and Embedding Python" manual,
> and in this manual describe two ways. One is use ``Dynamic
> Loading'' and I did not find it. So, the other way is show in the
> section 1.5, that is put the sourse of the module in the "Modules"
> directory, and rebuilt. But I did not find that directory. I don't
> know if Python for windows is different to Python for Unix, and all
> Python documentation is to Python for Unix.
The "Modules" directory is part of the Python source distribution.
If you used the installer, you don't have it. I'll try to make that
more clear in the extension manual.
Instructions on building a DLL on Windows are included in the
extension manual in the most recent releases. See the online version
at http://www.python.org/doc/ext/building-on-windows.html for
information on using the "compile.py" script David Ascher pointer
created and mentioned earlier in this thread. If you need further
help or find the instructions insufficient, please do not hesitate to
ask or otherwise point out limitations to the documentation.
Fred L. Drake, Jr. <email@example.com>
Corporation for National Research Initiatives