Provision: Install pyside python dependencies to Linux
authorSimo Fält <simo.falt@qt.io>
Tue, 13 Dec 2016 06:51:24 +0000 (08:51 +0200)
committerSimo Fält <simo.falt@qt.io>
Mon, 19 Dec 2016 21:39:26 +0000 (21:39 +0000)
To test successfully pyside dependencies with Coin, we need
python-dev packages and virtual env.

Change-Id: I29a5eed769798da4e4799eb5ccdff1cd032070d5
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/08-pythondev.sh [new file with mode: 0644]
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh [new file with mode: 0644]
coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/08-pythondev.sh [new file with mode: 0644]

diff --git a/coin/provisioning/qtci-linux-RHEL-6.6-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-RHEL-6.6-x86_64/08-pythondev.sh
new file mode 100644 (file)
index 0000000..b419f21
--- /dev/null
@@ -0,0 +1,4 @@
+# provides: python development libraries
+# version: provided by default Linux distribution repository
+# needed to build pyside
+sudo yum install -y python-devel python-virtualenv
diff --git a/coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh
new file mode 100644 (file)
index 0000000..ad1bf18
--- /dev/null
@@ -0,0 +1,5 @@
+# provides: python development libraries
+# version: provided by default Linux distribution repository
+# needed to build pyside
+sudo subscription-manager refresh
+sudo yum install -y python-devel python-virtualenv
diff --git a/coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/08-pythondev.sh
new file mode 100644 (file)
index 0000000..205f598
--- /dev/null
@@ -0,0 +1,6 @@
+# provides: python development libraries
+# version: provided by default Linux distribution repository
+# needed to build pyside
+
+sudo apt-get update
+sudo apt-get install -y python-dev