View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010068CMakeModulespublic2009-12-18 19:002011-05-02 14:45
ReporterPeter Collingbourne 
Assigned ToMarcus D. Hanwell 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.3 
Summary0010068: Use Python naming convention for extension modules created using PYTHON_ADD_MODULE
DescriptionIt would be nice if Python extension modules declared using PYTHON_ADD_MODULE and built as a shared object were named using the correct naming conventions (i.e. no lib prefix, .pyd suffix on Windows) so that Python can find them automatically. I am attaching a patch which modifies PYTHON_ADD_MODULE to set an appropriate PREFIX and SUFFIX based on the platform.

This has been tested on Windows and Linux, I am unaware of the conventions on other platforms.
TagsNo tags attached.
Attached Filespatch file icon 0002-Use-Python-naming-convention-for-extension-modules-c.patch [^] (1,213 bytes) 2009-12-18 19:01 [Show Content]

 Relationships

  Notes
(0024540)
Marcus D. Hanwell (developer)
2011-01-10 13:12

This was fixed in CMake 2.8.3.
(0026328)
David Cole (manager)
2011-05-02 14:45

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2009-12-18 19:00 Peter Collingbourne New Issue
2009-12-18 19:01 Peter Collingbourne File Added: 0002-Use-Python-naming-convention-for-extension-modules-c.patch
2010-12-14 17:08 David Cole Assigned To => Marcus D. Hanwell
2010-12-14 17:08 David Cole Status new => assigned
2011-01-10 13:12 Marcus D. Hanwell Note Added: 0024540
2011-01-10 13:12 Marcus D. Hanwell Status assigned => resolved
2011-01-10 13:12 Marcus D. Hanwell Fixed in Version => CMake 2.8.3
2011-01-10 13:12 Marcus D. Hanwell Resolution open => fixed
2011-05-02 14:45 David Cole Note Added: 0026328
2011-05-02 14:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team