guetzli-recursively-gui/.eggs/py2app-0.12-py3.6.egg/py2app/recipes/pydoc.py

13 lines
337 B
Python
Raw Normal View History

2017-04-20 00:57:59 +02:00
import sys
def check(cmd, mf):
m = mf.findNode('pydoc')
if m is None or m.filename is None:
return None
refs = [
'Tkinter', 'tty', 'BaseHTTPServer', 'mimetools', 'select',
'threading', 'ic', 'getopt', 'tkinter', 'win32',
]
for ref in refs:
mf.removeReference(m, ref)
return dict()