File: venv.sh

package info (click to toggle)
python-pip 25.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,496 kB
  • sloc: python: 89,559; sh: 75; makefile: 25
file content (15 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -eux

export HOME=$AUTOPKGTEST_TMP/home
mkdir $HOME

python3 -m venv $AUTOPKGTEST_TMP/venv
PY=$AUTOPKGTEST_TMP/venv/bin/python3

$PY -m pip install world
$PY -m pip list --format=columns
ls -ld $AUTOPKGTEST_TMP/venv/lib/python3.*/site-packages/world-*.dist-info
$PY -m pip uninstall -y world
$PY -m pip list --format=columns