From 8dfa55b667b17751738acc6eb0b63b067de881ea Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 14 Aug 2010 15:34:53 +0200 Subject: [PATCH] docs: Add step on removing the build/ dir of pyspotify to rebuild the C code --- docs/installation/libspotify.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/installation/libspotify.rst b/docs/installation/libspotify.rst index 635c0495..911bf39e 100644 --- a/docs/installation/libspotify.rst +++ b/docs/installation/libspotify.rst @@ -63,4 +63,12 @@ Check out the pyspotify code, and install it:: git clone git://github.com/jodal/pyspotify.git cd pyspotify/pyspotify/ + sudo rm -rf build/ # If you are upgrading pyspotify sudo python setup.py install + +.. note:: + + The ``sudo rm -rf build/`` step is needed if you are upgrading pyspotify. + Simply running ``python setup.py clean`` will *not* clean out the C parts + of the ``build/`` directory, and you will thus not get any changes to the C + code included in your installation.