I've just checked in some changes relating to the Python installation.
The intention is that it works as follows:
(1) If PYTHON_PREFIX is defined, then it is used by distutils to
install the Python bindings. (setup.py install
--prefix=${PYTHON_PREFIX})
Otherwise
(2) If CMAKE_INSTALL_DIR is "/usr/local", then distuils is used to
install the Python bindings globally (setup.py install)
Otherwise
(3) Distutils is used to install the Python bindings to
CMAKE_INSTALL_DIR (setup.py install --prefix=${CMAKE_INSTALL_DIR})
The typical behaviour for most users is (2). Case (3) handles a local
install of OB (can't install Python bindings globally by default here,
as requires superuser permission).
- Noel
------------------------------------------------------------------------------
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel