mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Handle the case where there are no conditional (heh) requirements
This commit is contained in:
@@ -96,5 +96,6 @@ fi
|
||||
if [ $FETCH_WHEELS -eq 1 ]; then
|
||||
pip install -e git+https://github.com/natefoo/pip@linux-wheels#egg=pip &&
|
||||
pip install -r requirements.txt --index-url https://wheels.galaxyproject.org/simple/ &&
|
||||
PYTHONPATH=lib python -c "import galaxy.dependencies; print '\n'.join(galaxy.dependencies.optional('$GALAXY_CONFIG_FILE'))" | pip install -r /dev/stdin --index-url https://wheels.galaxyproject.org/simple/ || exit 1
|
||||
GALAXY_CONDITIONAL_DEPENDENCIES=`PYTHONPATH=lib python -c "import galaxy.dependencies; print '\n'.join(galaxy.dependencies.optional('$GALAXY_CONFIG_FILE'))"` &&
|
||||
[ -z "$GALAXY_CONDITIONAL_DEPENDENCIES" ] || echo "$GALAXY_CONDITIONAL_DEPENDENCIES" | pip install -r /dev/stdin --index-url https://wheels.galaxyproject.org/simple/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user