From 7a3199bf4a05ffe7148ab7139a73df863a659353 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Mon, 6 Apr 2020 05:39:13 -0700 Subject: Remove deprecated options from virtualenv invocation --no-site-packages and --distribute are marked DEPRECATED and retained only for backward compatibility so removing. Change-Id: I3cc66b5c09363d5b982537cc28b8f66609743121 Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski --- test/mocks/datafilecollector-testharness/mr-sim/setup.sh | 2 +- test/mocks/mass-pnf-sim/setup.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/mocks/datafilecollector-testharness/mr-sim/setup.sh b/test/mocks/datafilecollector-testharness/mr-sim/setup.sh index 6661d0bb8..2c941361f 100755 --- a/test/mocks/datafilecollector-testharness/mr-sim/setup.sh +++ b/test/mocks/datafilecollector-testharness/mr-sim/setup.sh @@ -7,7 +7,7 @@ pip3 --version > /dev/null || { echo 'python3-pip package is not available, exit if [ -d ".env" ]; then echo ".env is prepared" else - virtualenv --no-site-packages --distribute -p python3 .env + virtualenv -p python3 .env fi source .env/bin/activate && pip3 install -r requirements.txt diff --git a/test/mocks/mass-pnf-sim/setup.sh b/test/mocks/mass-pnf-sim/setup.sh index 4e49a7e3e..2c941361f 100755 --- a/test/mocks/mass-pnf-sim/setup.sh +++ b/test/mocks/mass-pnf-sim/setup.sh @@ -7,7 +7,7 @@ pip3 --version > /dev/null || { echo 'python3-pip package is not available, exit if [ -d ".env" ]; then echo ".env is prepared" else - virtualenv --no-site-packages --distribute -p python3 .env + virtualenv -p python3 .env fi -source .env/bin/activate && pip3 install -r requirements.txt \ No newline at end of file +source .env/bin/activate && pip3 install -r requirements.txt -- cgit 1.2.3-korg