View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003080CMakeModulespublic2006-04-04 05:052012-07-09 06:53
ReporterCraig Bradney 
Assigned ToRolf Eike Beer 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.8Fixed in VersionCMake 2.8.8 
Summary0003080: FindPythonLibs.cmake could supply PYTHON_VERSION
DescriptionIt would be nice if the Python lib finder could have a found version variable given the significant changes in Python between 2.2 and higher (IIRC thats the correct version number).
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0013847)
Bill Hoffman (manager)
2008-10-10 12:39

Do you know how to detect the version?
(0028422)
Chip Christian (reporter)
2012-01-30 10:52

python -V
FindPythonInterp.cmake uses python --version, but that doesn't work, at least with python 2.4.3
(0028685)
Rolf Eike Beer (developer)
2012-02-21 13:53

$ grep PY_VERSION[^_] /usr/include/python*/patchlevel.h
/usr/include/python2.7/patchlevel.h:#define PY_VERSION "2.7.2"
/usr/include/python3.2/patchlevel.h:#define PY_VERSION "3.2.2"

Will come up with a patch soon.
(0028689)
Rolf Eike Beer (developer)
2012-02-21 15:49

Fix pushed to next:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1f581c860dded4bcdc0a7dffa9f7e2d3ec25ac68 [^]
(0029982)
David Cole (manager)
2012-07-09 06:53

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

 Issue History
Date Modified Username Field Change
2008-10-10 12:39 Bill Hoffman Note Added: 0013847
2012-01-30 10:52 Chip Christian Note Added: 0028422
2012-02-21 13:53 Rolf Eike Beer Note Added: 0028685
2012-02-21 13:53 Rolf Eike Beer Assigned To Bill Hoffman => Rolf Eike Beer
2012-02-21 13:53 Rolf Eike Beer Target Version => CMake 2.8.8
2012-02-21 15:49 Rolf Eike Beer Note Added: 0028689
2012-02-21 15:49 Rolf Eike Beer Status assigned => resolved
2012-02-21 15:49 Rolf Eike Beer Resolution open => fixed
2012-02-21 15:49 Rolf Eike Beer Fixed in Version => CMake 2.8.8
2012-07-09 06:53 David Cole Note Added: 0029982
2012-07-09 06:53 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team