From: Zack Cerza Date: Mon, 19 Aug 2013 18:35:52 +0000 (-0500) Subject: Don't necessarily need to manually link libvirt. Also, remove $'s. X-Git-Tag: 1.1.0~1958^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=59e01a41dedfc699d2a9eeb9c99423f5408b6582;p=teuthology.git Don't necessarily need to manually link libvirt. Also, remove $'s. --- diff --git a/README.rst b/README.rst index 5615d1e5c..5084612c2 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