Skip to content

Commit

Permalink
Add a script for pip installing the packages in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Oct 23, 2024
1 parent c28f3a0 commit 971cd90
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/package-dev-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
#
# Install packages in development mode, for running installed Galaxy from the source
#
set -euo pipefail

up_to="${1:-}"

if [ -n "$up_to" -a ! -d "$up_to" ]; then
echo "ERROR: package does not exist: $up_to"
exit 1
fi

while read package; do
[ -n "$package" ] || continue
pushd $package
pip install -e .
popd
[ "$package" != "$up_to" ] || exit
done < packages_by_dep_dag.txt

0 comments on commit 971cd90

Please sign in to comment.