Skip to content
Snippets Groups Projects
Commit 7a694e30 authored by Thomas Thrainer's avatar Thomas Thrainer Committed by Michele Tartara
Browse files

Add dependency on python-mock

Python Mock (http://www.voidspace.org.uk/python/mock/

) is a mocking
library for Python. It is included in the standard Python distribution
as of Python 3.3, but has been around for quite a while. Debian unstable
contains a version we require.

Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent 873878b9
No related branches found
No related tags found
No related merge requests found
...@@ -758,6 +758,7 @@ AC_PYTHON_MODULE(pycurl, t) ...@@ -758,6 +758,7 @@ AC_PYTHON_MODULE(pycurl, t)
AC_PYTHON_MODULE(bitarray, t) AC_PYTHON_MODULE(bitarray, t)
AC_PYTHON_MODULE(ipaddr, t) AC_PYTHON_MODULE(ipaddr, t)
AC_PYTHON_MODULE(yaml, t) AC_PYTHON_MODULE(yaml, t)
AC_PYTHON_MODULE(mock)
AC_PYTHON_MODULE(affinity) AC_PYTHON_MODULE(affinity)
AC_PYTHON_MODULE(paramiko) AC_PYTHON_MODULE(paramiko)
......
...@@ -90,7 +90,8 @@ in_chroot -- \ ...@@ -90,7 +90,8 @@ in_chroot -- \
$APT_INSTALL lvm2 ssh bridge-utils iproute iputils-arping \ $APT_INSTALL lvm2 ssh bridge-utils iproute iputils-arping \
ndisc6 python python-pyopenssl openssl \ ndisc6 python python-pyopenssl openssl \
python-pyparsing python-simplejson \ python-pyparsing python-simplejson \
python-pyinotify python-pycurl python-yaml socat fping python-pyinotify python-pycurl python-yaml python-mock \
socat fping
in_chroot -- \ in_chroot -- \
$APT_INSTALL python-paramiko qemu-utils $APT_INSTALL python-paramiko qemu-utils
......
...@@ -16,6 +16,7 @@ Most dependencies from :doc:`install-quick`, including ``qemu-img`` ...@@ -16,6 +16,7 @@ Most dependencies from :doc:`install-quick`, including ``qemu-img``
- `python-epydoc <http://epydoc.sourceforge.net/>`_ - `python-epydoc <http://epydoc.sourceforge.net/>`_
- `python-sphinx <http://sphinx.pocoo.org/>`_ - `python-sphinx <http://sphinx.pocoo.org/>`_
(tested with version 1.1.3) (tested with version 1.1.3)
- `python-mock <http://www.voidspace.org.uk/python/mock/>`_
- `graphviz <http://www.graphviz.org/>`_ - `graphviz <http://www.graphviz.org/>`_
- the `en_US.UTF-8` locale must be enabled on the system - the `en_US.UTF-8` locale must be enabled on the system
- `pylint <http://www.logilab.org/857>`_ and its associated - `pylint <http://www.logilab.org/857>`_ and its associated
...@@ -47,7 +48,7 @@ Installation of all dependencies listed here:: ...@@ -47,7 +48,7 @@ Installation of all dependencies listed here::
$ apt-get install python-setuptools automake git fakeroot $ apt-get install python-setuptools automake git fakeroot
$ apt-get install pandoc python-epydoc graphviz $ apt-get install pandoc python-epydoc graphviz
$ apt-get install python-yaml $ apt-get install python-yaml python-mock
$ cd / && sudo easy_install \ $ cd / && sudo easy_install \
sphinx \ sphinx \
logilab-astng==0.23.1 \ logilab-astng==0.23.1 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment