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