Re: [Rdkit-devel] [PATCH 2/2] Install libraries in ${RDKit_LibDir}
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Greg L. <gre...@gm...> - 2010-07-27 05:00:16
|
Dear Riccardo,
On Mon, Jul 26, 2010 at 12:55 AM, Riccardo Vianello
<ric...@gm...> wrote:
>
> following this idea I tried to assemble a first small patch. Some
> additional code in $RDBASE/rdkit/CMakeLists.txt generates a few-lines
> python module (RDPaths.py) with some hard-coded path values and
> installs it in the top python directory (now assigned to
> ${RDKit_PythonDir} by the top CMakeLists.txt file). If the $RDBASE
> environment variable is set, RDConfig.py should behave as usual,
> otherwise the hard-coded values are imported from RDPaths. At present
> the main issue I faced has been with the path value represented by
> $RDBASE itself (aka RDConfig.RDBaseDir) that I'm not sure has a unique
> correspondence in a system-wide installation and I therefore left it
> unassigned.
>
> Please, have a look at the attached file, maybe it's not complete, but
> I think it could be quite close to what was suggested.
Thanks for the patch. I tested it this morning and it seems to work
well (at least after some simple testing). It's checked in on the
Packaging branch now.
Best Regards,
-greg
|