/usr/share/pyshared/matplotlib-1.1.1rc-nspkg.pth is in python-matplotlib 1.1.1~rc1+git20120423-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 | import sys,types,os; p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('mpl_toolkits',)); ie = os.path.exists(os.path.join(p,'__init__.py')); m = not ie and sys.modules.setdefault('mpl_toolkits',types.ModuleType('mpl_toolkits')); mp = (m or []) and m.__dict__.setdefault('__path__',[]); (p not in mp) and mp.append(p)
|