/usr/lib/python2.7/dist-packages/patsy/categorical.py is in python-patsy 0.2.1-3.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/python2.7/dist-packages/patsy/../../../../share/pyshared/patsy/categorical.py