Explorar el Código

ENH: fix #7913: find also python 2.6 on windows

Alex
Alexander Neundorf hace 17 años
padre
commit
4a6ea82257
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Modules/FindPythonInterp.cmake

+ 1 - 0
Modules/FindPythonInterp.cmake

@@ -9,6 +9,7 @@
 FIND_PROGRAM(PYTHON_EXECUTABLE
   NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
   PATHS
+  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]