mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-04 20:54:47 +02:00
check_requirements.sh: more tweaks
* Use venv module instead of deprecated virtualenv command * Upgrade pip at the start so we don't get warnings about it Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
02e116b698
commit
2b98f751e6
|
@ -33,8 +33,9 @@ vecho()
|
|||
|
||||
tmpdir=`mktemp -d`
|
||||
vecho "Setting up virtual environment"
|
||||
virtualenv -q -p python3 $tmpdir
|
||||
python3 -m venv $tmpdir
|
||||
. $tmpdir/bin/activate
|
||||
pip install -q --upgrade pip
|
||||
pip install -q -r requirements.txt
|
||||
newreqs="requirements.txt.updated"
|
||||
vecho "Creating $newreqs"
|
||||
|
|
Loading…
Reference in New Issue
Block a user