rm -f src/version.py # Prevent 2to3 from copying it, since py3k/src/version.py was probably written by root.
rm -rf py3k
mkdir py3k
cp -R locale/ py3k/
cp -R plugins/ py3k/ # copy plugins data
python 2to3/run.py src/ plugins/ test/ scripts/* setup.py -wWno py3k -f all -f def_iteritems -f def_itervalues -f def_iterkeys -f reload "$@"

rm -f src/version.py # Prevent 2to3 from copying it, since py3k/src/version.py was probably written by root.
rm -rf py3k
mkdir py3k
cp -R locale/ py3k/locale
cp -R plugins/ py3k/plugins # copy plugins data
python 2to3/run.py src/ plugins/ test/ scripts/* setup.py -wWno py3k -f all -f def_iteritems -f def_itervalues -f def_iterkeys -f reload "$@"

Apply Andy's second patch for Freebsd. Closes GH-436.
Apply Andy's second patch for Freebsd. Closes GH-436.
