Upgrade to Mavericks wipes out Python site-packages directory?
Apple tends to wipe out supporting files for scripting languages such as python, perl, and ruby with each major upgrade.

To avoid this in the future, look for a package manager that maintains and works with a local copy of python outside of the Apple managed folders of /Library and /System. A good starting point is homebrew:

Install homebrew with:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"


Then install a local copy of python with:

brew install python


For perl, the perlbrew project is ideal and explicitly calls out Apple for his behaviour.