[pylucene-dev] building a PyLucene binary release for Windows
Bill Janssen
janssen at parc.com
Fri Mar 28 17:53:55 PDT 2008
> > I think the right way to do this is to ask distutils/setuptools to do it for
> > us. I should add a few other flags to jcc, say --bdist and --sdist, to do
> > this.
>
> I added support for using --bdist with JCC. See JCC's README [1] for more
> information about this new flag.
Something else has changed. I can no longer install JCC with mingw32.
I can do the
python setup.py build --compiler=mingw32
step fine, and it seems to build the .pyd file just fine, but now when
I try to install it, I get
$ python setup.py install
running install
running build
running build_py
copying jcc\config.py -> build\lib.win32-2.5\jcc
running build_ext
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
$
And, of course, passing "-c mingw32" to setup.py results in an error.
Weird.
Bill
More information about the pylucene-dev
mailing list