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

  • From: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>
  • Date: Wed, 16 Sep 2015 15:05:54 +0200



Am 15/09/2015 um 03:43 schrieb Andreas Ringlstetter:

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

the following commit in the series removes the rpy2 installation.
Why not squash the two (or get rid of the former)?

Thanks, Wolfgang Mauerer

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


Other related posts: