DIB: Drop pip-and-virtualenv element

We've been maintaining our own element for this but should be using the
one in upstream DIB.  The URL for get-pip.py is outdated and overriding
the functional element in DIB-proper.

Change-Id: I592015061d83c2e8dfb3ddd94cf29cd5013311c1
Closes-bug: #1536410
This commit is contained in:
Adam Gandelman
2016-01-20 16:10:28 -08:00
parent 9f9b7d0fde
commit 69f47a2b56
5 changed files with 0 additions and 32 deletions

View File

@@ -1,21 +0,0 @@
Install latest pip and virtualenv
=================================
We have problems with the latest binary package of pip and virtualenv.
Packaged version of pip can be old and virtualenv can also contain its
own version of pip. Issues include downloading packages from a local
pypi mirror that include a wheel package for pip.
The element follows the instructions from the pip website here:
http://www.pip-installer.org/en/latest/installing.html on how to install
the latest version of pip. That is to download get-pip.py and run this
file.
We use source-repositories element to download the file so it will be
cached and can be overridden to use package if that is required.
NOTICE
------
This element is copied from the OpenStack Tripleo project at
http://git.openstack.org/cgit/openstack/tripleo-image-elements/

View File

@@ -1,2 +0,0 @@
package-installs
source-repositories

View File

@@ -1,6 +0,0 @@
#!/bin/bash
set -eux
python /tmp/get-pip.py
pip install virtualenv

View File

@@ -1 +0,0 @@
get-pip-py file /tmp/get-pip.py https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py