JCC is a Python extension written in Python and C++. It requires a Java Runtime Environment to operate as it uses Java's reflection APIs to do its work. It is built and installed via distutils or setuptools.
- Edit setup.py and review that values in the INCLUDES, CFLAGS,DEBUG_CFLAGS, LFLAGS and JAVAC are correct for your system. These values are also going to be compiled into JCC's config.py file and are going to be used by JCC when invoking distutils or setuptools to compile extensions it is generating code for.
- At the command line, enter:
$ python setup.py build
$ sudo python setup.py install
Installing PyLucene
For the Impatient Ones
- pushd jcc
- <edit setup.py to match your environment>
- python setup.py build
- sudo python setup.py install
- popd
- <edit Makefile to match your environment>
- make
- sudo make install
- make test (look for failures)
0 件のコメント:
コメントを投稿