mirror of https://github.com/xbmc/xbmc
[WIN32] added include/python to the include path and removed lib/python/PC [WIN32] added python27.lib to the linker [WIN32] removed Py_NO_ENABLE_SHARED Still need the python directory that was under system because linux internal python build still put things there. There is a bug in the Windows external python because on Windows, the DLL that python is linked against may not be the DLL that xbmc is linked against. So passing a FILE* to python from an fopen has the potential to crash. This resolves that problem. Credit to blinkseb. added: download python dependencies with our script. changed: use Python 2.6.6 on Windows. Debug build is included in the archive, but not copied by default. Set DEBUG to true to copy these. [WIN32] changed: in case of debug python is used, be sure to exclude it from our installer [WIN32] fixed: get debug python working. The following has to be defined: - Py_NO_ENABLE_SHARED - Py_TRACE_REFS [WIN32] fixed: oups... [WIN32] changed: got external python work. It needs more testing to be sure. We don't link against a .lib to be able to load python from where we want (that's why Py_NO_ENABLE_SHARED is defined). We don't define USE_EXTERNAL_PYTHON because we need to use our dll loader. Fixed a couple of problems: 1) The Makefile.in file was merged incorrectly. 2) We cannot call PyEval_AcquireLock prior to the threads being initialized in linux. OSX shouldn't build the internal python ... ever ... but especially when USE_EXTERNAL_PYTHON is set. |
||
|---|---|---|
| .. | ||
| readme.txt | ||
readme.txt
python directory structure DLLs dir: Library directory used by python. python exensions (.pyd) from cvs can be placed here Lib dir: Library directory used by python. Here can new packages or modules be installed by the user.