Re: [Rdkit-devel] 2011.12 (Q4 2011) RDKit release
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Riccardo V. <ric...@gm...> - 2012-03-06 14:55:46
|
Hi, >> 1. Running the test-suite in-place is either impossible or really tricky >> as the cmake puts the compiled objects below obj-* and leaves the python >> code (including the .pyc byte-code files) in the main source tree. I >> had to give up and just copy over rdkit recursively into obj-*. > > I'm not sure what you mean here. If you're doing an out-of-source > build (which it sounds like you are), then you need to do a "make > install" to get the built .so files copied into the $RDBASE/rdkit > directory so that the python tests can pass. alternatively (esp. in case a similar workflow were more suitable to packaging) one could build inside the source tree, run the test suite, and finally perform the installation to a different filesystem location. Building inside the source tree is often advised against, but the implementation of some tests only works if the binaries are in there. HTH, Riccardo |