6462248db9d435f048d871f0262eeddc04f76337,PyInstaller/utils/cliutils/bindepend.py,,run,#,26
Before Change
def run():
PyInstaller.log.init()
parser = optparse.OptionParser(
usage="python %prog <executable_or_dynamic_library> "
"[ <executable_or_dynamic_library> ... ]")
PyInstaller.log.__add_options(parser)
opts, args = parser.parse_args()
PyInstaller.log.__process_options(parser, opts)
After Change
def run():
PyInstaller.log.init()
parser = argparse.ArgumentParser()
PyInstaller.log.__add_options(parser)
parser.add_argument("filenames", nargs="+",
metavar="executable-or-dynamic-library",
help=("executables or dynamic libraries for which "
"the dependencies should be shown"))
args = parser.parse_args()
PyInstaller.log.__process_options(parser, args)
// Suppress all informative messages from the dependency code.
PyInstaller.log.getLogger("PyInstaller.build.bindepend").setLevel(
PyInstaller.log.WARN)
try:
for a in args.filenames:
for fn in glob.glob(a):
imports = PyInstaller.depend.bindepend.getImports(fn)
if is_win:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pyinstaller/pyinstaller
Commit Name: 6462248db9d435f048d871f0262eeddc04f76337
Time: 2015-10-23
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/bindepend.py
Class Name:
Method Name: run
Project Name: pyinstaller/pyinstaller
Commit Name: 6462248db9d435f048d871f0262eeddc04f76337
Time: 2015-10-23
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/__main__.py
Class Name:
Method Name: run
Project Name: pyinstaller/pyinstaller
Commit Name: c386eb053e3845e68c1171d9bc6848e885864d3a
Time: 2015-10-20
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/pprint_toc.py
Class Name:
Method Name: run