Skip to content

Commit

Permalink
Install requirements when testing sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
bennorth committed May 23, 2020
1 parent c249589 commit 029682e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test-sdist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ function rm_tmpdir {
}
trap rm_tmpdir EXIT

SRCDIR=$(pwd)

python3 setup.py sdist -d $D \
&& $PYTHON -m venv $D \
&& ( source $D/bin/activate && python3 -m ensurepip ) \
&& cd / \
&& $D/bin/pip3 install -r "$SRCDIR"/requirements.txt \
&& $D/bin/pip3 install $D/gitdendrify-*.tar.gz \
&& echo Success

0 comments on commit 029682e

Please sign in to comment.