Build package with conda env
Dear, Thanks for sharing uself chemoinformaitcs package of Rust! I would like to ask you if I could build the code with rdkit which is installed from conda. By using conda env, I couldn't solve the issue which related static link. Any suggestion, advicces are greatly appreciated. Thanks,
Taka
Hi, I haven't taken a look at this. I need a conda environment to work against. Any tips? I think adding support would be straightforward.
We can leave this open 😄
My trial is described below. Path is hard cooded because I don't know how to get envrionment variable in Rust. https://iwatobipen.wordpress.com/2022/05/24/call-rdkit-from-rust-with-conda-env-rdkit-rust-chemoinformatics/ Thanks, Taka
Thanks for the great writeup! We can absolutely support the Conda env variables. I borrowed a lot of code from other projects and one of them has a build.rs that references conda and env vars. I bet you need to do something similar. Or perhaps the build.rs could call a conda CLI and get a path from there?
I'm going to ask @kraftaa to take a look when she has a chance. Thanks for the feedback!
This code worked fine in my condaenv. Thanks!!