On Wed, 11 Mar 2009, Christian Heimes wrote:

Andi Vajda schrieb:

With the recent release of Java Lucene 2.4.1, it's high time PyLucene
get its first release out as an Apache subproject. I hope I got all the
steps right and all the things into the right place.

Release candidate 1 of PyLucene 2.4.1 is available from:

    http://people.apache.org/~vajda/staging_area/

The list of changes is available from:


http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_2_4/CHANGES


Please vote to release this artifacts as PyLucene 2.4.1.

I ran into a minor inconvenience. I've build and installed JCC with

  JCC_JDK=/usr/lib/jvm/java-6-sun python2.5 setup.py build
  sudo python2.5 setup.py install

The second call to setup.py overwrites JCC's config.py file with default
settings thus breaking the compilation of PyLucene.

   JCC_JDK=/usr/lib/jvm/java-6-sun sudo python2.5 setup.py install

doesn't work either because sudo filters out most environment vars for
security reasons. In order to build JCC as ordinary user I had to use

   JCC_JDK=/usr/lib/jvm/java-6-sun sudo -E python2.5 setup.py install

Could you stop setup.py from overwriting config.py when the file already
exists and "install" is used as distutils command?

Not when the file already exists since that would prevent changes to setup.py from being reflected in config.py but it shouldn't be overwritten during 'install'. That's a bug.

Andi..

Reply via email to