On Tue, 18 May 2010, Christian Heimes wrote:

Setup
=====
I'm running the tests on an Ubuntu 10.04 X86_64 box with Python 2.6.5, Sun Java 1.6.0_20, GCC 4.4.3 and patched setuptools 0.6c11 (all 64bit).

JCC:
$ svn co http://svn.apache.org/repos/asf/lucene/pylucene/branches/branch_3x/jcc jcc_3x
$ cd jcc_3x
$ JCC_JDK=/usr/lib/jvm/java-6-sun python2.6 setup.py build
$ JCC_JDK=/usr/lib/jvm/java-6-sun python2.6 setup.py install

Small issue: The install target always rewrites the jcc.config module. This is a problem when I install JCC with "sudo python2.6 setup.py install" since it's not trivial to keep the environment variable JCC_JDK across a sudo call. How do you like the idea to bind the creation of jcc.config to the build or build_ext target?

Can you suggest a patch for this ?
It is not immediately obvious to me how to do this.

Andi..

Reply via email to