wiki:DirectoryMove

Directory Move

As of April 2nd 2009 (revision [197]) the South app now resides in the south/ subdirectory of trunk (to fix issues with various distutils items - see #88).

If you have a trunk version of South, when you update it the app will now no longer be on your python path. There are two resolutions to this:

Change svn:externals

Change your svn:external or other South install so that only the south/ directory is checked out (useful if it is in, for example, a lib subdirectory). Example of changing this (say, for example, South is in lib/south/):

svn propedit svn:externals lib/

Then, in the editor that comes up, change

south   http://svn.aeracode.org/svn/south/trunk/

To

south   http://svn.aeracode.org/svn/south/trunk/south/

Change sys.path

Add the main South directory to your python path, so the new south/ directory is again visible as an app.

An example, assuming south is checked out to lib/south (and so is really in lib/south/south) - put this at the top of settings.py:

import os, sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "lib", "south"))

Apologies for this, but it is long overdue. Hopefully this hasn't caused you too much pain.