From 3185854c800fde1ed2e498d9fc692228f2db9277 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 31 Jul 2021 20:55:55 +0800 Subject: [PATCH] install-deps.sh: s/virtualenv/python -m venv/ so we don't need to use virtualenv python package for creating a virtualenv, the "venv" module in Python3 would suffice. see also https://docs.python.org/3/library/venv.html Signed-off-by: Kefu Chai --- install-deps.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install-deps.sh b/install-deps.sh index cc47663328ba0..c5dd7df5a94c8 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -261,7 +261,6 @@ if [ x$(uname)x = xFreeBSDx ]; then devel/libtool \ devel/google-perftools \ lang/cython \ - devel/py-virtualenv \ databases/leveldb \ net/openldap24-client \ archivers/snappy \ @@ -431,7 +430,7 @@ function activate_virtualenv() { local env_dir=$top_srcdir/install-deps-python3 if ! test -d $env_dir ; then - virtualenv --python=python3 ${env_dir} + python3 -m venv ${env_dir} . $env_dir/bin/activate if ! populate_wheelhouse install ; then rm -rf $env_dir -- 2.39.5