This repository has been archived on 2024-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-26/mockenv/lib/python3.6/site-packages/zc.lockfile-2.0-py3.7-nspkg.pth
2022-07-22 16:13:59 +05:30

2 lines
519 B
Plaintext

import sys, types, os;has_mfs = sys.version_info > (3, 5);p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('zc',));importlib = has_mfs and __import__('importlib.util');has_mfs and __import__('importlib.machinery');m = has_mfs and sys.modules.setdefault('zc', importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec('zc', [os.path.dirname(p)])));m = m or sys.modules.setdefault('zc', types.ModuleType('zc'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p)