From aa4d7311cdfa4123a8582556175071b6bb62e2b3 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Fri, 27 Oct 2023 19:41:09 -0400 Subject: [PATCH] fix: remove artifacts from prior builds before installation --- bin/install_biowulf.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/install_biowulf.sh b/bin/install_biowulf.sh index 120b751e..58ca42d1 100755 --- a/bin/install_biowulf.sh +++ b/bin/install_biowulf.sh @@ -9,6 +9,12 @@ bin_path=${install_path}/bin/ . "/data/CCBR_Pipeliner/db/PipeDB/Conda/etc/profile.d/conda.sh" conda activate py311 + +# remove artifacts from prior builds +pushd ${repo_path} +rm -rf build/ *.egg-info +popd + echo "Installing CHAMPAGNE to ${install_path}" pip install ${repo_path} --target ${install_path} chmod +x ${install_path}/champagne/bin/*.*