Closed misialq closed 2 years ago
Thanks @lina-kim, good question! No, if you follow the current README instructions, technically, this installation has not much to do with conda builds. However, the adjustment in this PR allows for building conda packages that will take care of the SRA-Toolkit so that the user never again needs to care about our installation script (i.e., you will just do conda install q2-fondue
and tada! all is there). I have not updated the README yet as I want to first do a final test to check that everything works as expected (this is, however, only possible after merging) - there'll be a follow up PR most likely.
Adjusts the sra-toolkit installation script to use the
PREFIX
env variable when available (i.e., during conda builds) orCONDA_PREFIX
when installing in an existing, activated conda environment.Testing: to test, one needs to build the conda package locally and then install the built package in a fresh environment (I did that, all worked). It will be much easier to test after merging, once the CI takes care of the build process :)