d84df60345
SUSE packages the 'xml' python module as a separate package so make sure it's pulled in before we attempt to install the pip module since the latter depends on it. Fixes the following problem when building with the opensuse-minimal and pip-and-virtualenv elements: Traceback (most recent call last): File "/tmp/get-pip.py", line 19177, in <module> main() File "/tmp/get-pip.py", line 194, in main bootstrap(tmpdir=tmpdir) File "/tmp/get-pip.py", line 82, in bootstrap import pip File "/tmp/tmpOiESjX/pip.zip/pip/__init__.py", line 16, in <module> File "/tmp/tmpOiESjX/pip.zip/pip/vcs/subversion.py", line 9, in <module> File "/tmp/tmpOiESjX/pip.zip/pip/index.py", line 32, in <module> File "/tmp/tmpOiESjX/pip.zip/pip/_vendor/html5lib/__init__.py", line 16, in <module> File "/tmp/tmpOiESjX/pip.zip/pip/_vendor/html5lib/html5parser.py", line 6, in <module> File "/tmp/tmpOiESjX/pip.zip/pip/_vendor/html5lib/inputstream.py", line 10, in <module> File "/tmp/tmpOiESjX/pip.zip/pip/_vendor/html5lib/utils.py", line 10, in <module> ImportError: No module named xml.etree.ElementTree Change-Id: I1bec12dfcde05fb07f41bcec994148c3eacbb287 |
||
---|---|---|
.. | ||
install.d/pip-and-virtualenv-source-install | ||
element-deps | ||
package-installs.yaml | ||
pkg-map | ||
README.rst | ||
source-repository-pip-and-virtualenv |
================== pip-and-virtualenv ================== This element installs pip and virtualenv in the image. If the package installtype is used then these programs are installed from distribution packages. If the source installtype is used these programs are installed from get-pip.py and pip (respectively). To install pip and virtualenv from package: export DIB_INSTALLTYPE_pip_and_virtualenv=package