From 59e01a41dedfc699d2a9eeb9c99423f5408b6582 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 19 Aug 2013 13:35:52 -0500 Subject: [PATCH] Don't necessarily need to manually link libvirt. Also, remove $'s. --- README.rst | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.rst b/README.rst index 5615d1e5c7..5084612c29 100644 --- a/README.rst +++ b/README.rst @@ -56,27 +56,26 @@ is activated before proceeding (location doesn't matter, we use an example location):: mkdir ~/.virtualenvs - virtualenv ~/.virtualenvs/teuthology + virtualenv --system-site-packages ~/.virtualenvs/teuthology source ~/.virtualenvs/teuthology/bin/activate Install the system dependencies:: brew install libvirt mysql libevent -``libvirt`` does not link the python bindings so you need to do this step -manually:: - - $ cd /Library/Python/{pyversion}/site-packages - $ sudo ln -s /usr/local/Cellar/libvirt/{version}/lib/python{pyversion}/site-packages/* . - Make sure you are able to import ``libvirt`` without error:: python -c "import libvirt" +If python can't find libvirt yet, you may need to do the following: + + cd /Library/Python/{pyversion}/site-packages + sudo ln -s /usr/local/Cellar/libvirt/{version}/lib/python{pyversion}/site-packages/* . + Finally, install the teuthology package and ``requirements.txt``:: - $ python setup.py develop - $ pip install -r requirements.txt + python setup.py develop + pip install -r requirements.txt Generic install -- 2.39.5