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

Luis P Caamano lpc@racemi.com
Thu, 19 Jul 2001 11:57:40 -0400


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 

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 
lcaamano@mindspring.com
Atlanta, GA, USA
----------------------------------