What steps will reproduce the problem?
1. Compile win32 backend
2. Run with Python 2.5
3. Imports of compiled modules fail
Python v2.5 on Windows will no longer import modules with the .dll
extension - they need to have the .pyd extension instead.
Thankfully, SCons allows you to easily override the extension for the
output of SharedLibary, via SHLIBSUFFIX
At the moment, this is restricted to:
* the Swig helper script win32/SConsTools/SwigTool.py
* the Cairo build script win32/src/Graphics/cairo/src/SConscript
Quote from Python.org:
Windows: .dll is no longer supported as a filename extension for extension
modules. .pyd is now the only filename extension that will be searched for.
See: http://docs.python.org/whatsnew/ports.html#SECTION0001510000000000000000
Original issue reported on code.google.com by unfocu...@gmail.com on 22 Mar 2008 at 5:19
Original issue reported on code.google.com by
unfocu...@gmail.com
on 22 Mar 2008 at 5:19Attachments: