[python-win32] Problem with compiled .pyd file
Frank Peacock
fepeacock at bulldoghome.com
Sat Aug 16 12:46:50 CEST 2008
Hello
I am using Python 2.5.2 on Windows and cygwin to build a python extension.
I have built the pygrib2 package using cygwin on Windows and I am
experiencing a hanging on the import of the g2lib.pyd module.
I have tried using cygwin's jasper library as well as self-built files of
the jasper library using -mno-cygwin switch with cygwin. These two different
approaches merely create different sized g2lib.pyd files: 171kb for cygwin
library and 420kb for self-built.
When I run setup.py I used the following syntax: python setup.py build -c
mingw32. Both times the build was successful with the sole creation of the
g2lib.pyd file. If I rather try python setup.py -c cygwin I get linker
errors.
I tested the module after build and the problem is that when I try to import
the g2lib module it hangs.
I was wondering whether there is a g2lib.lib file missing? I am not fluent
with the full details of python but noticed that pyd files in the python
packages had allied lib files.
Could you please help me?
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080816/b1f1c8d9/attachment.htm>
More information about the python-win32
mailing list