[codeface] [PATCH 8/9] Update setuptools prior to using pip again

  • From: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>
  • Date: Tue, 15 Sep 2015 03:43:52 +0200

From: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxx>

The python-setuptools version shipped with Ubuntu 12.04 is outdated and
reveales a defect when installing rpy2. The safe way is only to call it again
after it has been fully upgraded. This potentially also applies to using
setuptools for the installation of other packages.

Signed-off-by: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxx>
---
integration-scripts/install_codeface_python.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/integration-scripts/install_codeface_python.sh
b/integration-scripts/install_codeface_python.sh
index d9fd495..68b4702 100755
--- a/integration-scripts/install_codeface_python.sh
+++ b/integration-scripts/install_codeface_python.sh
@@ -2,7 +2,8 @@

echo "Providing codeface python"

-sudo pip install --upgrade -q setuptools mock
+sudo pip install --upgrade -q setuptools
+sudo pip install --upgrade -q mock rpy2

# Only development mode works
# install fails due to R scripts accessing unbundled resources!
--
2.5.2


Other related posts: