guetzli-recursively-gui/.eggs/py2app-0.12-py3.6.egg/py2app/recipes/docutils.py
2017-04-20 00:57:59 +02:00

10 lines
321 B
Python

def check(cmd, mf):
m = mf.findNode('docutils')
if m is None or m.filename is None:
return None
for pkg in [
'languages', 'parsers', 'readers', 'writers',
'parsers.rst.directives', 'parsers.rst.languages']:
mf.import_hook('docutils.' + pkg, m, ['*'])
return dict()