Define vcpe scripts dependencies via setuptools config
[integration.git] / test / vcpe / bin / setup.sh
index 5614f1a..ad0e78c 100755 (executable)
@@ -2,7 +2,7 @@
 
 # COPYRIGHT NOTICE STARTS HERE
 #
-# Copyright 2019 Samsung Electronics Co., Ltd.
+# Copyright 2019-2020 Samsung Electronics Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -32,15 +32,8 @@ then
     yum -y install python-devel gcc;
 fi
 
+pip_setup_path="$(dirname $0)/../"
+
 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
 python get-pip.py
-pip install -I \
-    ipaddress \
-    pyyaml \
-    mysql-connector-python \
-    progressbar2 \
-    python-novaclient \
-    python-openstackclient \
-    python-heatclient \
-    kubernetes \
-    netaddr
+pip install -I ${pip_setup_path}