Plone + TextIndexNG3 on Windows, Take 2
Submitted by greg on Tue, 07/03/2007 - 06:07
Turns out I forgot to mention a couple extra steps to get TextIndexNG3 compiled and working on Windows. After failing to follow my own instructions on a new install, and with a reminder from this MinGW + Python post, I realized I didn't document the following:
- In addition to the vanilla include directory, also copy the libs folder from the Python tree to %PLONE%\Python
- Create the file %PLONE%\Lib\distutils\distutils.cfg with the contents:
[build]
compiler=mingw32 - Compile the TextIndexNG3 extension with (one line):
%PLONE%\Python\Python.exe setup build -c mingw32 - Make sure to copy the compiled extension to somewhere in Plone's Python's path (all on one line):
cp %PLONE%\Data\Products\TextIndexNG3\extension_modules\zopyx %PLONE%\Python\Lib\site-packages\zopyx
Bookmark/Search this post with

Comments
Post new comment