chore: add prefix
This commit is contained in:
parent
717fb1ac8e
commit
0af2a3c72b
10 changed files with 0 additions and 0 deletions
|
|
@ -1,32 +0,0 @@
|
|||
sh << 'EOF'
|
||||
set -e
|
||||
|
||||
sh -cx "python3 --version"
|
||||
|
||||
# initialize two venv in parallel
|
||||
sh -cx "rm -rf .venv && python3 -m venv .venv" &
|
||||
pids="$!"
|
||||
sh -cx "rm -rf .venv-alt && python3 -m venv .venv-alt" &
|
||||
pids="$pids $!"
|
||||
|
||||
wait $pids
|
||||
|
||||
|
||||
# install one venv with only examples, the other with examples and pipenv
|
||||
sh -cx ".venv/bin/pip install -v examples &>pip-install-examples.txt" &
|
||||
pids="$!"
|
||||
sh -cx ".venv-alt/bin/pip install -v examples pipenv &>pip-install-examples--pipenv.txt" &
|
||||
pids="$pids $!"
|
||||
|
||||
wait $pids
|
||||
|
||||
# print the versions for each installed package
|
||||
sh -cx ".venv/bin/pip show examples | grep 'Version:'"
|
||||
sh -cx ".venv/bin/pip show examples | grep 'Version:'"
|
||||
sh -cx ".venv-alt/bin/pip show pipenv | grep 'Version:'"
|
||||
|
||||
diff --side-by-side --recursive --brief \
|
||||
"$(find .venv -type d -path '**/site-packages/examples')" \
|
||||
"$(find .venv-alt -type d -path '**/site-packages/examples')"
|
||||
EOF
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue