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>
diff --git a/test/mocks/datafilecollector-testharness/mr-sim/setup.sh b/test/mocks/datafilecollector-testharness/mr-sim/setup.sh
index 6661d0b..2c94136 100755
--- a/test/mocks/datafilecollector-testharness/mr-sim/setup.sh
+++ b/test/mocks/datafilecollector-testharness/mr-sim/setup.sh
@@ -7,7 +7,7 @@
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 4e49a7e..2c94136 100755
--- a/test/mocks/mass-pnf-sim/setup.sh
+++ b/test/mocks/mass-pnf-sim/setup.sh
@@ -7,7 +7,7 @@
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