Skip to content

Commit

Permalink
try pip install pyutils
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Feb 21, 2024
1 parent bec748f commit 15a6a19
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions recipes/eva-sub-cli/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,16 @@ mkdir -p ${PREFIX}/bin ${EVA_SUB_CLI}
# Install eva-sub-cli
$PYTHON -m pip install .
cp bin/* ${PREFIX}/bin
# Install python dependencies not yet on conda
$PYTHON -m pip install ebi_eva_common_pyutils==${EVA_PYUTILS_VERSION}
echo "Done with eva-sub-cli"

cd ${EVA_SUB_CLI}

# Install python dependencies not yet on conda
curl -Lo eva-pyutils.zip https://github.com/EBIvariation/eva-common-pyutils/archive/refs/tags/v${EVA_PYUTILS_VERSION}.zip \
&& unzip eva-pyutils.zip && rm eva-pyutils.zip \
&& cd eva-common-pyutils-${EVA_PYUTILS_VERSION} \
&& $PYTHON setup.py install \
&& cd ..

# Install biovalidator from source
# Includes some workarounds that can be cleaned up once a new version is released
curl -Lo biovalidator.zip https://github.com/elixir-europe/biovalidator/archive/refs/tags/v${BIOVALIDATOR_VERSION}.zip \
&& unzip biovalidator.zip && rm biovalidator.zip \
&& unzip -q biovalidator.zip && rm biovalidator.zip \
&& cd biovalidator-${BIOVALIDATOR_VERSION} \
&& bash -c "cat <(echo '#!/usr/bin/env node') <(cat src/biovalidator.js) > tmp" \
&& mv tmp src/biovalidator.js \
Expand Down

0 comments on commit 15a6a19

Please sign in to comment.