aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-06 05:39:13 -0700
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-06 05:42:58 -0700
commit7a3199bf4a05ffe7148ab7139a73df863a659353 (patch)
treea82230ff82a14e8e4b16ec57e0aa154b04f61b17
parent008f9e82481a36b2ed29bb7e1aa770378eca1619 (diff)
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 <b.grzybowski@partner.samsung.com>
-rwxr-xr-xtest/mocks/datafilecollector-testharness/mr-sim/setup.sh2
-rwxr-xr-xtest/mocks/mass-pnf-sim/setup.sh4
2 files changed, 3 insertions, 3 deletions
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