]> git.pld-linux.org Git - packages/kodi.git/blame - xbmc-python27.patch
- one more
[packages/kodi.git] / xbmc-python27.patch
CommitLineData
6cbf2b62 1diff -urN xbmc-10.0.orig/configure.in xbmc-10.0/configure.in
ebabc5a7 2--- xbmc-10.0.orig/configure.in 2010-12-22 20:53:28.933000073 +0100
c806eca7 3+++ xbmc-10.0/configure.in 2010-12-22 21:46:29.535000096 +0100
6cbf2b62 4@@ -919,7 +919,11 @@
5
6 # External Python
7 if test "$use_external_python" = "yes"; then
8- AC_CHECK_LIB([python2.6], [main],
9+ AC_CHECK_LIB([python2.7], [main],
10+ [AC_DEFINE([HAVE_LIBPYTHON2_7], [1],
11+ [Define to 1 if you have the 'python2.7' library.])
12+ USE_PYTHON2_7=1],
13+ [AC_CHECK_LIB([python2.6], [main],
14 [AC_DEFINE([HAVE_LIBPYTHON2_6], [1],
15 [Define to 1 if you have the 'python2.6' library.])
16 USE_PYTHON2_6=1],
17@@ -931,9 +935,10 @@
18 [AC_DEFINE([HAVE_LIBPYTHON2_4], [1],
19 [Define to 1 if you have the 'python2.4' library.])
20 USE_PYTHON2_4=1],
21- [AC_MSG_ERROR($missing_library)] )] )] )
22+ [AC_MSG_ERROR($missing_library)] )] )] )] )
23
24 AC_MSG_NOTICE($external_python_enabled)
25+ test "$USE_PYTHON2_7" && AC_MSG_NOTICE([Using Python 2.7])
26 test "$USE_PYTHON2_6" && AC_MSG_NOTICE([Using Python 2.6])
27 test "$USE_PYTHON2_5" && AC_MSG_NOTICE([Using Python 2.5])
28 test "$USE_PYTHON2_4" && AC_MSG_NOTICE([Using Python 2.4])
29@@ -1491,6 +1496,7 @@
30 AC_SUBST(USE_EXTERNAL_LIBMPEG2)
31 AC_SUBST(USE_EXTERNAL_LIBWAVPACK)
32 AC_SUBST(USE_EXTERNAL_PYTHON)
33+AC_SUBST(USE_PYTHON2_7)
34 AC_SUBST(USE_PYTHON2_6)
35 AC_SUBST(USE_PYTHON2_5)
36 AC_SUBST(USE_PYTHON2_4)
37diff -urN xbmc-10.0.orig/xbmc/lib/libPython/linux/Makefile.in xbmc-10.0/xbmc/lib/libPython/linux/Makefile.in
ebabc5a7 38--- xbmc-10.0.orig/xbmc/lib/libPython/linux/Makefile.in 2010-12-17 07:17:41.000000000 +0100
c806eca7 39+++ xbmc-10.0/xbmc/lib/libPython/linux/Makefile.in 2010-12-22 21:46:29.566000076 +0100
6cbf2b62 40@@ -5,7 +5,10 @@
41 SHELL=/bin/bash
42 SYSDIR=../../../../system/python
43
44-ifeq (@USE_PYTHON2_6@,1)
45+ifeq (@USE_PYTHON2_7@,1)
46+ PYVERSION=python2.7
47+ SO=python27-$(ARCH).so
48+else ifeq (@USE_PYTHON2_6@,1)
49 PYVERSION=python2.6
50 SO=python26-$(ARCH).so
51 else ifeq (@USE_PYTHON2_5@,1)
52diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/action.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/action.h
ebabc5a7 53--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/action.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 54+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/action.h 2010-12-22 21:46:29.566000076 +0100
6cbf2b62 55@@ -23,7 +23,9 @@
56 #include "config.h"
57 #endif
58 #if (defined USE_EXTERNAL_PYTHON)
59- #if (defined HAVE_LIBPYTHON2_6)
60+ #if (defined HAVE_LIBPYTHON2_7)
61+ #include <python2.7/Python.h>
62+ #elif (defined HAVE_LIBPYTHON2_6)
63 #include <python2.6/Python.h>
64 #elif (defined HAVE_LIBPYTHON2_5)
65 #include <python2.5/Python.h>
66diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlbutton.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlbutton.cpp
ebabc5a7 67--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlbutton.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 68+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlbutton.cpp 2010-12-22 21:46:29.567000079 +0100
6cbf2b62 69@@ -23,7 +23,9 @@
70 #include "config.h"
71 #endif
72 #if (defined USE_EXTERNAL_PYTHON)
73- #if (defined HAVE_LIBPYTHON2_6)
74+ #if (defined HAVE_LIBPYTHON2_7)
75+ #include <python2.7/Python.h>
76+ #elif (defined HAVE_LIBPYTHON2_6)
77 #include <python2.6/Python.h>
78 #elif (defined HAVE_LIBPYTHON2_5)
79 #include <python2.5/Python.h>
80diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlcheckmark.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlcheckmark.cpp
ebabc5a7 81--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlcheckmark.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 82+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlcheckmark.cpp 2010-12-22 21:46:29.567000079 +0100
6cbf2b62 83@@ -23,7 +23,9 @@
84 #include "config.h"
85 #endif
86 #if (defined USE_EXTERNAL_PYTHON)
87- #if (defined HAVE_LIBPYTHON2_6)
88+ #if (defined HAVE_LIBPYTHON2_7)
89+ #include <python2.7/Python.h>
90+ #elif (defined HAVE_LIBPYTHON2_6)
91 #include <python2.6/Python.h>
92 #elif (defined HAVE_LIBPYTHON2_5)
93 #include <python2.5/Python.h>
94diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlfadelabel.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlfadelabel.cpp
ebabc5a7 95--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlfadelabel.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 96+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlfadelabel.cpp 2010-12-22 21:46:29.568000080 +0100
6cbf2b62 97@@ -23,7 +23,9 @@
98 #include "config.h"
99 #endif
100 #if (defined USE_EXTERNAL_PYTHON)
101- #if (defined HAVE_LIBPYTHON2_6)
102+ #if (defined HAVE_LIBPYTHON2_7)
103+ #include <python2.7/Python.h>
104+ #elif (defined HAVE_LIBPYTHON2_6)
105 #include <python2.6/Python.h>
106 #elif (defined HAVE_LIBPYTHON2_5)
107 #include <python2.5/Python.h>
108diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlgroup.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlgroup.cpp
ebabc5a7 109--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlgroup.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 110+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlgroup.cpp 2010-12-22 21:46:29.568000080 +0100
6cbf2b62 111@@ -23,7 +23,9 @@
112 #include "config.h"
113 #endif
114 #if (defined USE_EXTERNAL_PYTHON)
115- #if (defined HAVE_LIBPYTHON2_6)
116+ #if (defined HAVE_LIBPYTHON2_7)
117+ #include <python2.7/Python.h>
118+ #elif (defined HAVE_LIBPYTHON2_6)
119 #include <python2.6/Python.h>
120 #elif (defined HAVE_LIBPYTHON2_5)
121 #include <python2.5/Python.h>
122diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/control.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/control.h
ebabc5a7 123--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/control.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 124+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/control.h 2010-12-22 21:46:29.569000080 +0100
6cbf2b62 125@@ -23,7 +23,9 @@
126 #include "config.h"
127 #endif
128 #if (defined USE_EXTERNAL_PYTHON)
129- #if (defined HAVE_LIBPYTHON2_6)
130+ #if (defined HAVE_LIBPYTHON2_7)
131+ #include <python2.7/Python.h>
132+ #elif (defined HAVE_LIBPYTHON2_6)
133 #include <python2.6/Python.h>
134 #elif (defined HAVE_LIBPYTHON2_5)
135 #include <python2.5/Python.h>
136diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlimage.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlimage.cpp
ebabc5a7 137--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlimage.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 138+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlimage.cpp 2010-12-22 21:46:29.569000080 +0100
6cbf2b62 139@@ -23,7 +23,9 @@
140 #include "config.h"
141 #endif
142 #if (defined USE_EXTERNAL_PYTHON)
143- #if (defined HAVE_LIBPYTHON2_6)
144+ #if (defined HAVE_LIBPYTHON2_7)
145+ #include <python2.7/Python.h>
146+ #elif (defined HAVE_LIBPYTHON2_6)
147 #include <python2.6/Python.h>
148 #elif (defined HAVE_LIBPYTHON2_5)
149 #include <python2.5/Python.h>
150diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controllabel.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controllabel.cpp
ebabc5a7 151--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controllabel.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 152+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controllabel.cpp 2010-12-22 21:46:29.570000079 +0100
6cbf2b62 153@@ -23,7 +23,9 @@
154 #include "config.h"
155 #endif
156 #if (defined USE_EXTERNAL_PYTHON)
157- #if (defined HAVE_LIBPYTHON2_6)
158+ #if (defined HAVE_LIBPYTHON2_7)
159+ #include <python2.7/Python.h>
160+ #elif (defined HAVE_LIBPYTHON2_6)
161 #include <python2.6/Python.h>
162 #elif (defined HAVE_LIBPYTHON2_5)
163 #include <python2.5/Python.h>
164diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controllist.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controllist.cpp
ebabc5a7 165--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controllist.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 166+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controllist.cpp 2010-12-22 21:46:29.571000077 +0100
6cbf2b62 167@@ -23,7 +23,9 @@
168 #include "config.h"
169 #endif
170 #if (defined USE_EXTERNAL_PYTHON)
171- #if (defined HAVE_LIBPYTHON2_6)
172+ #if (defined HAVE_LIBPYTHON2_7)
173+ #include <python2.7/Python.h>
174+ #elif (defined HAVE_LIBPYTHON2_6)
175 #include <python2.6/Python.h>
176 #elif (defined HAVE_LIBPYTHON2_5)
177 #include <python2.5/Python.h>
178diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlprogress.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlprogress.cpp
ebabc5a7 179--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlprogress.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 180+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlprogress.cpp 2010-12-22 21:46:29.572000076 +0100
6cbf2b62 181@@ -23,7 +23,9 @@
182 #include "config.h"
183 #endif
184 #if (defined USE_EXTERNAL_PYTHON)
185- #if (defined HAVE_LIBPYTHON2_6)
186+ #if (defined HAVE_LIBPYTHON2_7)
187+ #include <python2.7/Python.h>
188+ #elif (defined HAVE_LIBPYTHON2_6)
189 #include <python2.6/Python.h>
190 #elif (defined HAVE_LIBPYTHON2_5)
191 #include <python2.5/Python.h>
192diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlradiobutton.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlradiobutton.cpp
ebabc5a7 193--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlradiobutton.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 194+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlradiobutton.cpp 2010-12-22 21:46:29.572000076 +0100
6cbf2b62 195@@ -23,7 +23,9 @@
196 #include "config.h"
197 #endif
198 #if (defined USE_EXTERNAL_PYTHON)
199- #if (defined HAVE_LIBPYTHON2_6)
200+ #if (defined HAVE_LIBPYTHON2_7)
201+ #include <python2.7/Python.h>
202+ #elif (defined HAVE_LIBPYTHON2_6)
203 #include <python2.6/Python.h>
204 #elif (defined HAVE_LIBPYTHON2_5)
205 #include <python2.5/Python.h>
206diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlslider.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlslider.cpp
ebabc5a7 207--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlslider.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 208+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlslider.cpp 2010-12-22 21:46:29.572000076 +0100
6cbf2b62 209@@ -23,7 +23,9 @@
210 #include "config.h"
211 #endif
212 #if (defined USE_EXTERNAL_PYTHON)
213- #if (defined HAVE_LIBPYTHON2_6)
214+ #if (defined HAVE_LIBPYTHON2_7)
215+ #include <python2.7/Python.h>
216+ #elif (defined HAVE_LIBPYTHON2_6)
217 #include <python2.6/Python.h>
218 #elif (defined HAVE_LIBPYTHON2_5)
219 #include <python2.5/Python.h>
220diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlspin.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlspin.cpp
ebabc5a7 221--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controlspin.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 222+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controlspin.cpp 2010-12-22 21:46:29.572000076 +0100
6cbf2b62 223@@ -23,7 +23,9 @@
224 #include "config.h"
225 #endif
226 #if (defined USE_EXTERNAL_PYTHON)
227- #if (defined HAVE_LIBPYTHON2_6)
228+ #if (defined HAVE_LIBPYTHON2_7)
229+ #include <python2.7/Python.h>
230+ #elif (defined HAVE_LIBPYTHON2_6)
231 #include <python2.6/Python.h>
232 #elif (defined HAVE_LIBPYTHON2_5)
233 #include <python2.5/Python.h>
234diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controltextbox.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controltextbox.cpp
ebabc5a7 235--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/controltextbox.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 236+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/controltextbox.cpp 2010-12-22 21:46:29.572000076 +0100
6cbf2b62 237@@ -23,7 +23,9 @@
238 #include "config.h"
239 #endif
240 #if (defined USE_EXTERNAL_PYTHON)
241- #if (defined HAVE_LIBPYTHON2_6)
242+ #if (defined HAVE_LIBPYTHON2_7)
243+ #include <python2.7/Python.h>
244+ #elif (defined HAVE_LIBPYTHON2_6)
245 #include <python2.6/Python.h>
246 #elif (defined HAVE_LIBPYTHON2_5)
247 #include <python2.5/Python.h>
248diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/dialog.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/dialog.cpp
ebabc5a7 249--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/dialog.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 250+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/dialog.cpp 2010-12-22 21:46:29.572000076 +0100
6cbf2b62 251@@ -24,7 +24,9 @@
252 #endif
253 #include "dialog.h"
254 #if (defined USE_EXTERNAL_PYTHON)
255- #if (defined HAVE_LIBPYTHON2_6)
256+ #if (defined HAVE_LIBPYTHON2_7)
257+ #include <python2.7/Python.h>
258+ #elif (defined HAVE_LIBPYTHON2_6)
259 #include <python2.6/Python.h>
260 #elif (defined HAVE_LIBPYTHON2_5)
261 #include <python2.5/Python.h>
262diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/dialog.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/dialog.h
ebabc5a7 263--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/dialog.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 264+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/dialog.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 265@@ -23,7 +23,9 @@
266 #include "config.h"
267 #endif
268 #if (defined USE_EXTERNAL_PYTHON)
269- #if (defined HAVE_LIBPYTHON2_6)
270+ #if (defined HAVE_LIBPYTHON2_7)
271+ #include <python2.7/Python.h>
272+ #elif (defined HAVE_LIBPYTHON2_6)
273 #include <python2.6/Python.h>
274 #elif (defined HAVE_LIBPYTHON2_5)
275 #include <python2.5/Python.h>
276diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/GUIPythonWindow.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/GUIPythonWindow.h
ebabc5a7 277--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/GUIPythonWindow.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 278+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/GUIPythonWindow.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 279@@ -26,7 +26,9 @@
280 #include "config.h"
281 #endif
282 #if (defined USE_EXTERNAL_PYTHON)
283- #if (defined HAVE_LIBPYTHON2_6)
284+ #if (defined HAVE_LIBPYTHON2_7)
285+ #include <python2.7/Python.h>
286+ #elif (defined HAVE_LIBPYTHON2_6)
287 #include <python2.6/Python.h>
288 #elif (defined HAVE_LIBPYTHON2_5)
289 #include <python2.5/Python.h>
290diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/infotagmusic.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/infotagmusic.h
ebabc5a7 291--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/infotagmusic.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 292+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/infotagmusic.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 293@@ -23,7 +23,9 @@
294 #include "config.h"
295 #endif
296 #if (defined USE_EXTERNAL_PYTHON)
297- #if (defined HAVE_LIBPYTHON2_6)
298+ #if (defined HAVE_LIBPYTHON2_7)
299+ #include <python2.7/Python.h>
300+ #elif (defined HAVE_LIBPYTHON2_6)
301 #include <python2.6/Python.h>
302 #elif (defined HAVE_LIBPYTHON2_5)
303 #include <python2.5/Python.h>
304diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/infotagvideo.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/infotagvideo.h
ebabc5a7 305--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/infotagvideo.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 306+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/infotagvideo.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 307@@ -23,7 +23,9 @@
308 #include "config.h"
309 #endif
310 #if (defined USE_EXTERNAL_PYTHON)
311- #if (defined HAVE_LIBPYTHON2_6)
312+ #if (defined HAVE_LIBPYTHON2_7)
313+ #include <python2.7/Python.h>
314+ #elif (defined HAVE_LIBPYTHON2_6)
315 #include <python2.6/Python.h>
316 #elif (defined HAVE_LIBPYTHON2_5)
317 #include <python2.5/Python.h>
318diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/keyboard.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/keyboard.h
ebabc5a7 319--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/keyboard.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 320+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/keyboard.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 321@@ -23,7 +23,9 @@
322 #include "config.h"
323 #endif
324 #if (defined USE_EXTERNAL_PYTHON)
325- #if (defined HAVE_LIBPYTHON2_6)
326+ #if (defined HAVE_LIBPYTHON2_7)
327+ #include <python2.7/Python.h>
328+ #elif (defined HAVE_LIBPYTHON2_6)
329 #include <python2.6/Python.h>
330 #elif (defined HAVE_LIBPYTHON2_5)
331 #include <python2.5/Python.h>
332diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/listitem.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/listitem.cpp
ebabc5a7 333--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/listitem.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 334+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/listitem.cpp 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 335@@ -23,7 +23,9 @@
336 #include "config.h"
337 #endif
338 #if (defined USE_EXTERNAL_PYTHON)
339- #if (defined HAVE_LIBPYTHON2_6)
340+ #if (defined HAVE_LIBPYTHON2_7)
341+ #include <python2.7/Python.h>
342+ #elif (defined HAVE_LIBPYTHON2_6)
343 #include <python2.6/Python.h>
344 #elif (defined HAVE_LIBPYTHON2_5)
345 #include <python2.5/Python.h>
346diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/listitem.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/listitem.h
ebabc5a7 347--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/listitem.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 348+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/listitem.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 349@@ -25,7 +25,9 @@
350 #include "config.h"
351 #endif
352 #if (defined USE_EXTERNAL_PYTHON)
353- #if (defined HAVE_LIBPYTHON2_6)
354+ #if (defined HAVE_LIBPYTHON2_7)
355+ #include <python2.7/Python.h>
356+ #elif (defined HAVE_LIBPYTHON2_6)
357 #include <python2.6/Python.h>
358 #elif (defined HAVE_LIBPYTHON2_5)
359 #include <python2.5/Python.h>
360diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/player.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/player.h
ebabc5a7 361--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/player.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 362+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/player.h 2010-12-22 21:46:29.573000077 +0100
6cbf2b62 363@@ -23,7 +23,9 @@
364 #include "config.h"
365 #endif
366 #if (defined USE_EXTERNAL_PYTHON)
367- #if (defined HAVE_LIBPYTHON2_6)
368+ #if (defined HAVE_LIBPYTHON2_7)
369+ #include <python2.7/Python.h>
370+ #elif (defined HAVE_LIBPYTHON2_6)
371 #include <python2.6/Python.h>
372 #elif (defined HAVE_LIBPYTHON2_5)
373 #include <python2.5/Python.h>
374diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/pyplaylist.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/pyplaylist.cpp
ebabc5a7 375--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/pyplaylist.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 376+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/pyplaylist.cpp 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 377@@ -26,7 +26,9 @@
378 #include "Util.h"
379 #include "pyplaylist.h"
380 #if (defined USE_EXTERNAL_PYTHON)
381- #if (defined HAVE_LIBPYTHON2_6)
382+ #if (defined HAVE_LIBPYTHON2_7)
383+ #include <python2.7/Python.h>
384+ #elif (defined HAVE_LIBPYTHON2_6)
385 #include <python2.6/Python.h>
386 #elif (defined HAVE_LIBPYTHON2_5)
387 #include <python2.5/Python.h>
388diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/pyplaylist.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/pyplaylist.h
ebabc5a7 389--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/pyplaylist.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 390+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/pyplaylist.h 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 391@@ -25,7 +25,9 @@
392 #include "config.h"
393 #endif
394 #if (defined USE_EXTERNAL_PYTHON)
395- #if (defined HAVE_LIBPYTHON2_6)
396+ #if (defined HAVE_LIBPYTHON2_7)
397+ #include <python2.7/Python.h>
398+ #elif (defined HAVE_LIBPYTHON2_6)
399 #include <python2.6/Python.h>
400 #elif (defined HAVE_LIBPYTHON2_5)
401 #include <python2.5/Python.h>
402diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/PythonAddon.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/PythonAddon.h
ebabc5a7 403--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/PythonAddon.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 404+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/PythonAddon.h 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 405@@ -25,7 +25,9 @@
406 #include "config.h"
407 #endif
408 #if (defined USE_EXTERNAL_PYTHON)
409- #if (defined HAVE_LIBPYTHON2_6)
410+ #if (defined HAVE_LIBPYTHON2_7)
411+ #include <python2.7/Python.h>
412+ #elif (defined HAVE_LIBPYTHON2_6)
413 #include <python2.6/Python.h>
414 #elif (defined HAVE_LIBPYTHON2_5)
415 #include <python2.5/Python.h>
416diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/PythonPlayer.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/PythonPlayer.h
ebabc5a7 417--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/PythonPlayer.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 418+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/PythonPlayer.h 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 419@@ -25,7 +25,9 @@
420 #include "config.h"
421 #endif
422 #if (defined USE_EXTERNAL_PYTHON)
423- #if (defined HAVE_LIBPYTHON2_6)
424+ #if (defined HAVE_LIBPYTHON2_7)
425+ #include <python2.7/Python.h>
426+ #elif (defined HAVE_LIBPYTHON2_6)
427 #include <python2.6/Python.h>
428 #elif (defined HAVE_LIBPYTHON2_5)
429 #include <python2.5/Python.h>
430diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/pyutil.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/pyutil.h
ebabc5a7 431--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/pyutil.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 432+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/pyutil.h 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 433@@ -25,7 +25,9 @@
434 #include "config.h"
435 #endif
436 #if (defined USE_EXTERNAL_PYTHON)
437- #if (defined HAVE_LIBPYTHON2_6)
438+ #if (defined HAVE_LIBPYTHON2_7)
439+ #include <python2.7/Python.h>
440+ #elif (defined HAVE_LIBPYTHON2_6)
441 #include <python2.6/Python.h>
442 #elif (defined HAVE_LIBPYTHON2_5)
443 #include <python2.5/Python.h>
444diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/window.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/window.h
ebabc5a7 445--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/window.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 446+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/window.h 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 447@@ -23,7 +23,9 @@
448 #include "config.h"
449 #endif
450 #if (defined USE_EXTERNAL_PYTHON)
451- #if (defined HAVE_LIBPYTHON2_6)
452+ #if (defined HAVE_LIBPYTHON2_7)
453+ #include <python2.7/Python.h>
454+ #elif (defined HAVE_LIBPYTHON2_6)
455 #include <python2.6/Python.h>
456 #elif (defined HAVE_LIBPYTHON2_5)
457 #include <python2.5/Python.h>
458diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/winxml.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/winxml.cpp
ebabc5a7 459--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/winxml.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 460+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/winxml.cpp 2010-12-22 21:46:29.574000079 +0100
6cbf2b62 461@@ -24,7 +24,9 @@
462 #endif
463 #include "winxml.h"
464 #if (defined USE_EXTERNAL_PYTHON)
465- #if (defined HAVE_LIBPYTHON2_6)
466+ #if (defined HAVE_LIBPYTHON2_7)
467+ #include <python2.7/Python.h>
468+ #elif (defined HAVE_LIBPYTHON2_6)
469 #include <python2.6/Python.h>
470 #elif (defined HAVE_LIBPYTHON2_5)
471 #include <python2.5/Python.h>
472diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/winxmldialog.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/winxmldialog.cpp
ebabc5a7 473--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/winxmldialog.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 474+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/winxmldialog.cpp 2010-12-22 21:46:29.575000080 +0100
6cbf2b62 475@@ -24,7 +24,9 @@
476 #endif
477 #include "winxml.h"
478 #if (defined USE_EXTERNAL_PYTHON)
479- #if (defined HAVE_LIBPYTHON2_6)
480+ #if (defined HAVE_LIBPYTHON2_7)
481+ #include <python2.7/Python.h>
482+ #elif (defined HAVE_LIBPYTHON2_6)
483 #include <python2.6/Python.h>
484 #elif (defined HAVE_LIBPYTHON2_5)
485 #include <python2.5/Python.h>
486diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/winxml.h xbmc-10.0/xbmc/lib/libPython/xbmcmodule/winxml.h
ebabc5a7 487--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/winxml.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 488+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/winxml.h 2010-12-22 21:46:29.575000080 +0100
6cbf2b62 489@@ -23,7 +23,9 @@
490 #include "config.h"
491 #endif
492 #if (defined USE_EXTERNAL_PYTHON)
493- #if (defined HAVE_LIBPYTHON2_6)
494+ #if (defined HAVE_LIBPYTHON2_7)
495+ #include <python2.7/Python.h>
496+ #elif (defined HAVE_LIBPYTHON2_6)
497 #include <python2.6/Python.h>
498 #elif (defined HAVE_LIBPYTHON2_5)
499 #include <python2.5/Python.h>
500diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/xbmcaddonmodule.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/xbmcaddonmodule.cpp
c806eca7 501--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/xbmcaddonmodule.cpp 2010-12-22 21:48:38.245000078 +0100
502+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/xbmcaddonmodule.cpp 2010-12-22 21:47:26.853999676 +0100
503@@ -23,7 +23,9 @@
504 #include "config.h"
505 #endif
506 #if (defined USE_EXTERNAL_PYTHON)
507- #if (defined HAVE_LIBPYTHON2_6)
508+ #if (defined HAVE_LIBPYTHON2_7)
509+ #include <python2.7/Python.h>
510+ #elif (defined HAVE_LIBPYTHON2_6)
511 #include <python2.6/Python.h>
512 #elif (defined HAVE_LIBPYTHON2_5)
513 #include <python2.5/Python.h>
6cbf2b62 514diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/xbmcguimodule.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/xbmcguimodule.cpp
ebabc5a7 515--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/xbmcguimodule.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 516+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/xbmcguimodule.cpp 2010-12-22 21:46:29.575000080 +0100
6cbf2b62 517@@ -23,7 +23,10 @@
518 #include "config.h"
519 #endif
520 #if (defined USE_EXTERNAL_PYTHON)
521- #if (defined HAVE_LIBPYTHON2_6)
522+ #if (defined HAVE_LIBPYTHON2_7)
523+ #include <python2.7/Python.h>
524+ #include <python2.7/structmember.h>
525+ #elif (defined HAVE_LIBPYTHON2_6)
526 #include <python2.6/Python.h>
527 #include <python2.6/structmember.h>
528 #elif (defined HAVE_LIBPYTHON2_5)
529diff -urN xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/xbmcmodule.cpp xbmc-10.0/xbmc/lib/libPython/xbmcmodule/xbmcmodule.cpp
ebabc5a7 530--- xbmc-10.0.orig/xbmc/lib/libPython/xbmcmodule/xbmcmodule.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 531+++ xbmc-10.0/xbmc/lib/libPython/xbmcmodule/xbmcmodule.cpp 2010-12-22 21:46:29.575000080 +0100
6cbf2b62 532@@ -23,7 +23,9 @@
533 #include "config.h"
534 #endif
535 #if (defined USE_EXTERNAL_PYTHON)
536- #if (defined HAVE_LIBPYTHON2_6)
537+ #if (defined HAVE_LIBPYTHON2_7)
538+ #include <python2.7/Python.h>
539+ #elif (defined HAVE_LIBPYTHON2_6)
540 #include <python2.6/Python.h>
541 #elif (defined HAVE_LIBPYTHON2_5)
542 #include <python2.5/Python.h>
543diff -urN xbmc-10.0.orig/xbmc/lib/libPython/XBPython.cpp xbmc-10.0/xbmc/lib/libPython/XBPython.cpp
ebabc5a7 544--- xbmc-10.0.orig/xbmc/lib/libPython/XBPython.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 545+++ xbmc-10.0/xbmc/lib/libPython/XBPython.cpp 2010-12-22 21:46:29.576000080 +0100
6cbf2b62 546@@ -24,7 +24,9 @@
547 #include "config.h"
548 #endif
549 #if (defined USE_EXTERNAL_PYTHON)
550- #if (defined HAVE_LIBPYTHON2_6)
551+ #if (defined HAVE_LIBPYTHON2_7)
552+ #include <python2.7/Python.h>
553+ #elif (defined HAVE_LIBPYTHON2_6)
554 #include <python2.6/Python.h>
555 #elif (defined HAVE_LIBPYTHON2_5)
556 #include <python2.5/Python.h>
557@@ -61,7 +63,9 @@
558 #define PYTHON_DLL "special://xbmcbin/system/python/python24-x86-osx.so"
559 #endif
560 #elif defined(__x86_64__)
561-#if (defined HAVE_LIBPYTHON2_6)
562+#if (defined HAVE_LIBPYTHON2_7)
563+#define PYTHON_DLL "special://xbmcbin/system/python/python27-x86_64-linux.so"
564+#elif (defined HAVE_LIBPYTHON2_6)
565 #define PYTHON_DLL "special://xbmcbin/system/python/python26-x86_64-linux.so"
566 #elif (defined HAVE_LIBPYTHON2_5)
567 #define PYTHON_DLL "special://xbmcbin/system/python/python25-x86_64-linux.so"
568@@ -69,7 +73,9 @@
569 #define PYTHON_DLL "special://xbmcbin/system/python/python24-x86_64-linux.so"
570 #endif
571 #elif defined(_POWERPC)
572-#if (defined HAVE_LIBPYTHON2_6)
573+#if (defined HAVE_LIBPYTHON2_7)
574+#define PYTHON_DLL "special://xbmcbin/system/python/python27-powerpc-linux.so"
575+#elif (defined HAVE_LIBPYTHON2_6)
576 #define PYTHON_DLL "special://xbmcbin/system/python/python26-powerpc-linux.so"
577 #elif (defined HAVE_LIBPYTHON2_5)
578 #define PYTHON_DLL "special://xbmcbin/system/python/python25-powerpc-linux.so"
579@@ -77,7 +83,9 @@
580 #define PYTHON_DLL "special://xbmcbin/system/python/python24-powerpc-linux.so"
581 #endif
582 #elif defined(_POWERPC64)
583-#if (defined HAVE_LIBPYTHON2_6)
584+#if (defined HAVE_LIBPYTHON2_7)
585+#define PYTHON_DLL "special://xbmcbin/system/python/python27-powerpc64-linux.so"
586+#elif (defined HAVE_LIBPYTHON2_6)
587 #define PYTHON_DLL "special://xbmcbin/system/python/python26-powerpc64-linux.so"
588 #elif (defined HAVE_LIBPYTHON2_5)
589 #define PYTHON_DLL "special://xbmcbin/system/python/python25-powerpc64-linux.so"
590@@ -85,7 +93,9 @@
591 #define PYTHON_DLL "special://xbmcbin/system/python/python24-powerpc64-linux.so"
592 #endif
593 #elif defined(_ARMEL)
594-#if (defined HAVE_LIBPYTHON2_6)
595+#if (defined HAVE_LIBPYTHON2_7)
596+#define PYTHON_DLL "special://xbmc/system/python/python27-arm.so"
597+#elif (defined HAVE_LIBPYTHON2_6)
598 #define PYTHON_DLL "special://xbmc/system/python/python26-arm.so"
599 #elif (defined HAVE_LIBPYTHON2_5)
600 #define PYTHON_DLL "special://xbmc/system/python/python25-arm.so"
601@@ -93,7 +103,9 @@
602 #define PYTHON_DLL "special://xbmc/system/python/python24-arm.so"
603 #endif
604 #else /* !__x86_64__ && !__powerpc__ */
605-#if (defined HAVE_LIBPYTHON2_6)
606+#if (defined HAVE_LIBPYTHON2_7)
607+#define PYTHON_DLL "special://xbmcbin/system/python/python27-i486-linux.so"
608+#elif (defined HAVE_LIBPYTHON2_6)
609 #define PYTHON_DLL "special://xbmcbin/system/python/python26-i486-linux.so"
610 #elif (defined HAVE_LIBPYTHON2_5)
611 #define PYTHON_DLL "special://xbmcbin/system/python/python25-i486-linux.so"
612diff -urN xbmc-10.0.orig/xbmc/lib/libPython/XBPythonDll.cpp xbmc-10.0/xbmc/lib/libPython/XBPythonDll.cpp
ebabc5a7 613--- xbmc-10.0.orig/xbmc/lib/libPython/XBPythonDll.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 614+++ xbmc-10.0/xbmc/lib/libPython/XBPythonDll.cpp 2010-12-22 21:46:29.576000080 +0100
6cbf2b62 615@@ -23,7 +23,9 @@
616 #include "config.h"
617 #endif
618 #if (defined USE_EXTERNAL_PYTHON)
619- #if (defined HAVE_LIBPYTHON2_6)
620+ #if (defined HAVE_LIBPYTHON2_7)
621+ #include <python2.7/pyconfig.h>
622+ #elif (defined HAVE_LIBPYTHON2_6)
623 #include <python2.6/pyconfig.h>
624 #elif (defined HAVE_LIBPYTHON2_5)
625 #include <python2.5/pyconfig.h>
626diff -urN xbmc-10.0.orig/xbmc/lib/libPython/XBPythonDllFuncs.S xbmc-10.0/xbmc/lib/libPython/XBPythonDllFuncs.S
ebabc5a7 627--- xbmc-10.0.orig/xbmc/lib/libPython/XBPythonDllFuncs.S 2010-12-17 07:17:41.000000000 +0100
c806eca7 628+++ xbmc-10.0/xbmc/lib/libPython/XBPythonDllFuncs.S 2010-12-22 21:46:29.576000080 +0100
6cbf2b62 629@@ -2,7 +2,9 @@
630 #include "config.h"
631 #endif
632 #if (defined USE_EXTERNAL_PYTHON)
633- #if (defined HAVE_LIBPYTHON2_6)
634+ #if (defined HAVE_LIBPYTHON2_7)
635+ #include <python2.7/pyconfig.h>
636+ #elif (defined HAVE_LIBPYTHON2_6)
637 #include <python2.6/pyconfig.h>
638 #elif (defined HAVE_LIBPYTHON2_5)
639 #include <python2.5/pyconfig.h>
640diff -urN xbmc-10.0.orig/xbmc/lib/libPython/XBPyThread.cpp xbmc-10.0/xbmc/lib/libPython/XBPyThread.cpp
ebabc5a7 641--- xbmc-10.0.orig/xbmc/lib/libPython/XBPyThread.cpp 2010-12-17 07:17:41.000000000 +0100
c806eca7 642+++ xbmc-10.0/xbmc/lib/libPython/XBPyThread.cpp 2010-12-22 21:46:29.576000080 +0100
6cbf2b62 643@@ -24,7 +24,10 @@
644 #include "config.h"
645 #endif
646 #if (defined USE_EXTERNAL_PYTHON)
647- #if (defined HAVE_LIBPYTHON2_6)
648+ #if (defined HAVE_LIBPYTHON2_7)
649+ #include <python2.7/Python.h>
650+ #include <python2.7/osdefs.h>
651+ #elif (defined HAVE_LIBPYTHON2_6)
652 #include <python2.6/Python.h>
653 #include <python2.6/osdefs.h>
654 #elif (defined HAVE_LIBPYTHON2_5)
655diff -urN xbmc-10.0.orig/xbmc/lib/libPython/XBPyThread.h xbmc-10.0/xbmc/lib/libPython/XBPyThread.h
ebabc5a7 656--- xbmc-10.0.orig/xbmc/lib/libPython/XBPyThread.h 2010-12-17 07:17:41.000000000 +0100
c806eca7 657+++ xbmc-10.0/xbmc/lib/libPython/XBPyThread.h 2010-12-22 21:46:29.576000080 +0100
6cbf2b62 658@@ -26,7 +26,9 @@
659 #include "config.h"
660 #endif
661 #if (defined USE_EXTERNAL_PYTHON)
662- #if (defined HAVE_LIBPYTHON2_6)
663+ #if (defined HAVE_LIBPYTHON2_7)
664+ #include <python2.7/Python.h>
665+ #elif (defined HAVE_LIBPYTHON2_6)
666 #include <python2.6/Python.h>
667 #elif (defined HAVE_LIBPYTHON2_5)
668 #include <python2.5/Python.h>
This page took 0.122532 seconds and 4 git commands to generate.