Compiled Win32 modules should have .pyd extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enso Project |
Fix Committed
|
High
|
blackdaemon |
Bug Description
Reported by unfocused, Mar 21, 2008
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/SConsTool
* the Cairo build script win32/src/
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://
Related branches
- blackdaemon: Approve
- Tim Biron: Approve (documentation)
- Stuart Langridge: Approve (documentation)
- shu.chen: Pending (documentation) requested
- VCS imports: Pending requested
Above patch has been provided by Unfocused