On Fri, 26 Sep 2008, Bill Janssen wrote:

I'm trying to do a "make install" of PyLucene to a packaging directory,
and I don't see how to get it to install other than into the Python's
site-packages directory.

When I run jcc with the --install flag, what options can be passed?

The following is done in python.py:

    if install:
        script_args.append('install')
    if prefix:
        script_args.append('--prefix=%s' % prefix)
    if root:
        script_args.append('--root=%s' % root)
    if install_dir:
        script_args.append('--install-lib=%s' % install_dir)

Hence you can pass --prefix, --root and --install-dir along with --install.
These parameters are passed on to distutils/setuptools where they get their meaning and implementation [1][2].

Andi..

[1] http://docs.python.org/dist/dist.html
[2] http://peak.telecommunity.com/DevCenter/setuptools
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to