[XML-SIG] Installing to split prefix/exec-prefix

Luis P Caamano lpc@racemi.com
Fri, 20 Jul 2001 10:54:00 -0400


** This is a resend.  It seems the first message didn't
make it to the list.  I apologize if it's a duplicate **

I have a python installation on an NFS server that
supports both Linux and BSD systems.  When configuring
python, I set prefix to /python/python_common and
exec-prefix to /python/python_<OS> where <OS> is
either Linux or FreeBSD depending on where I run
configure, make, and make install.

It works great!

Next was installing PyXml.  After running the
appropriate python setup.py [build/install], I noticed
that PyXML stuff always go to the exec_prefix
directory, including .py files.  I expected those
.py files to go to python_common and not the
OS specific directory.

In other words, I expected .py files to go to

python_common/lib/python2.1/site-packages/_xmlplus

and exec_prefix related stuff to

python_<OS>/lib/python2.1/site-packages/_xmlplus

or better, to

python_<OS>/lib/python2.1/lib-dynload

Is this the way it's supposed to be?
Is this a distutils or PyXML problem?
Should I do things differently?

Thanks in advance for your reply.

----------------------------------
Luis P. Caamano | Racemi, Inc.
lpc@racemi.com  | Atlanta, GA, USA
----------------------------------