code
stringlengths
1
1.72M
language
stringclasses
1 value
hiddenimports = ['sip', 'PyQt4.QtCore', 'PyQt4.QtGui', 'PyQt4._qt']
Python
hiddenimports = ['sip', 'PyQt4.QtCore', 'PyQt4._qt']
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Hook for _mysql, required if higher-level pure python module is not imported # Author: htgoebel # Date: 2011-11-18 # Ticket: #323 hiddenimports = ['_mysql_exceptions']
Python
# email.message imports the old-style naming of two modules: # email.Iterators and email.Generator. Since those modules # don't exist anymore and there are import trick to map them # to the real modules (lowercase), we need to specify them # as hidden imports to make PyInstaller package them. hiddenimports = [ "email.i...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2009, Lorenzo Berni # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
hiddenimports = [ "allcontrols", "asianhotkey", "comboboxdroppedheight", "comparetoreffont", "leadtrailspaces", "miscvalues", "missalignment", "missingextrastring", "overlapping", "repeatedhotkey", ...
Python
import os import enchant def _win32_data_files(): # This is basically a copy of enchant.utils.win32_data_files as of # release 1.6.0. We use this as a fallback for older versions of # enchant which do not have this function. # enchant is licenced under LGPL. dataDirs = ("share/enchant/myspell","sh...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
hiddenimports = ['agile', 'dotnet']
Python
import sys from hookutils import eval_script if sys.platform == 'win32': files = eval_script('enchant-datafiles-finder.py') datas = [] # data files in PyInstaller hook format for d in files: for f in d[1]: datas.append((f, d[0]))
Python
# Copyright (C) 2006, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Hook for http://pypi.python.org/pypi/h5py/ # Author: dhyams # Date: 2011-10-14 # Ticket: #437 hiddenimports = ['_proxy','utils','defs']
Python
# Copyright (C) 2006, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Contributed by Peter Burgers # The matplotlib.numerix package sneaks these imports in under the radar: hiddenimports = [ 'fft', 'linear_algebra', 'random_array', 'ma', 'mlab', ]
Python
# enchant.checker.wxSpellCheckerDialog causes pyinstaller to include # whole gtk and wx libraries if they are installed. This module is # thus ignored to prevent this. # TODO find better workaround def hook(mod): # Workaround DOES NOT work with well with python 2.6 # let's just disable it #return None ...
Python
# # Copyright (C) 2012, Daniel Hyams # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed i...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2009, Lorenzo Berni # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
hiddenimports = ['mx.DateTime']
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
hiddenimports = ["sip", "PyQt4.QtCore", "PyQt4.QtGui", "PyQt4.QtNetwork", "PyQt4._qt"]
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# # Copyright (C) 2012, Martin Zibricky # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distribute...
Python
# # Copyright (C) 2011, Martin Zibricky # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distribute...
Python
hiddenimports = ['sip', 'PyQt4.QtCore', 'PyQt4._qt'] from PyInstaller.hooks.hookutils import qt4_plugins_binaries def hook(mod): # Network Bearer Management in Qt4 4.7+ mod.binaries.extend(qt4_plugins_binaries('bearer')) return mod
Python
#!/usr/bin/env python import glob import os import sys import PyInstaller import PyInstaller.compat as compat from PyInstaller.compat import is_darwin, set from PyInstaller.utils import misc import PyInstaller.log as logging logger = logging.getLogger(__name__) def __exec_python_cmd(cmd): """ Executes an ex...
Python
hiddenimports = ["tables._comp_lzo", "tables._comp_bzip2"]
Python
# # Copyright (C) 2009, Lorenzo Mancini # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distribute...
Python
# Contributed by pyplant@googlemail.com hiddenimports = ['_elementpath', 'gzip']
Python
from PyInstaller.hooks.hookutils import exec_statement hiddenimports = ["babel.dates"] babel_localedata_dir = exec_statement( "import babel.localedata; print babel.localedata._dirname") datas = [ (babel_localedata_dir, ""), ]
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
# Hook for storm ORM # Author: mail@georg-schoelly.ch # Date: 2011-10-14 # Ticket: #437 hiddenimports = [ 'storm.databases.sqlite', 'storm.databases.postgres', 'storm.databases.mysql' ]
Python
#! /usr/bin/env python # Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either v...
Python
#!/usr/bin/env python # # Copyright (C) 2009, Florian Hoech # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This p...
Python
# This module contains various helper functions for git DVCS # # Copyright (C) 2011, hartmut Goebel # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at yo...
Python
# # Copyright (C) 2005-2011, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of th...
Python
# # Copyright (C) 2005-2011, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of th...
Python
#
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the...
Python
#!/usr/bin/env python # # Copyright (C) 2009, Florian Hoech # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This p...
Python
# # Copyright (C) 2012, Martin Zibricky # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distribute...
Python
#!/usr/bin/env python # # Build packages using spec files # # Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 1999, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as publishe...
Python
#!/usr/bin/env python # # Automatically build spec files containing a description of the project # # Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Gen...
Python
#! -*- mode: python; coding: utf-8 -*- """ Logging module for PyInstaller """ # # Copyright 2011 by Hartmut Goebel <h.goebel@goebel-consult.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, ...
Python
# Subclass of Archive that can be understood by a C program (see launch.c). # Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 1999, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Licen...
Python
# # Copyright (C) 2005-2011, Giovanni Bajo # # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of ...
Python
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the Licen...
Python
#
Python
#! /usr/bin/env python # # Find external dependencies of binary libraries. # # Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # ...
Python
#! /usr/bin/env python # # Configure PyInstaller for the current Python installation. # # Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public...
Python
# # Copyright (C) 2011 by Hartmut Goebel # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distribut...
Python
""" Python 2.4-like compatibility library for Python 2.3 """ from itertools import izip, imap try: from itertools import tee, groupby except ImportError: pass # # builtins from 2.4 # try: set, frozenset except NameError: from sets import Set as set, ImmutableSet as frozenset try: sorted except N...
Python
""" altgraph.Graph - Base Graph class ================================= .. #--Version 2.1 #--Bob Ippolito October, 2004 #--Version 2.0 #--Istvan Albert June, 2004 #--Version 1.0 #--Nathan Denny, May 27, 1999 """ from altgraph import GraphError from collections import deque class Graph(object): """...
Python
''' altgraph.GraphAlgo - Graph algorithms ===================================== ''' from altgraph import GraphError def dijkstra(graph, start, end=None): """ Dijkstra's algorithm for shortest paths `David Eppstein, UC Irvine, 4 April 2002 <http://www.ics.uci.edu/~eppstein/161/python/>`_ `Python Cookb...
Python
''' altgraph.Dot - Interface to the dot language ============================================ The :py:mod:`~altgraph.Dot` module provides a simple interface to the file format used in the `graphviz <http://www.research.att.com/sw/tools/graphviz/>`_ program. The module is intended to offload the most tedious part of th...
Python
""" altgraph.ObjectGraph - Graph of objects with an identifier ========================================================== A graph of objects that have a "graphident" attribute. graphident is the key for the object in the graph """ from itertools import imap from altgraph import GraphError from altgraph.Graph import ...
Python
''' altgraph - a python graph library ================================= altgraph is a fork of `graphlib <http://pygraphlib.sourceforge.net>`_ tailored to use newer Python 2.3+ features, including additional support used by the py2app suite (modulegraph and macholib, specifically). altgraph is a python based graph (ne...
Python
''' altgraph.GraphUtil - Utility classes and functions ================================================== ''' import random from collections import deque from altgraph import Graph from altgraph import GraphError def generate_random_graph(node_num, edge_num, self_loops=False, multi_edges=False): ''' Generates...
Python
''' altgraph.GraphStat - Functions providing various graph statistics ================================================================= ''' import sys def degree_dist(graph, limits=(0,0), bin_num=10, mode='out'): ''' Computes the degree distribution for a graph. Returns a list of tuples where the first el...
Python
#### #### This is a plain checkout from #### http://hg.python.org/cpython/raw-file/v2.6.5/Lib/subprocess.py #### with a single change at the place marked #### "change this to use pywin32 instead of the _subprocess driver" #### So for Windows, pywin32 is used. #### #### When up/downgrading this module, please keep t...
Python
"""Utilities for writing code that runs on Python 2 and 3""" import sys import types __author__ = "Benjamin Peterson <benjamin@python.org>" __version__ = "1.0.0" # True if we are running on Python 3. PY3 = sys.version_info[0] == 3 if PY3: string_types = str, integer_types = int, class_types = type, ...
Python
import os import sys try: from functools import wraps except ImportError: # only needed for Python 2.4 def wraps(_): def _wraps(func): return func return _wraps __unittest = True def _relpath_nt(path, start=os.path.curdir): """Return a relative version of a path""" if...
Python
"""Unittest main program""" import sys import os import types from unittest2 import loader, runner try: from unittest2.signals import installHandler except ImportError: installHandler = None __unittest = True FAILFAST = " -f, --failfast Stop on first failure\n" CATCHBREAK = " -c, --catch Catc...
Python
import signal import weakref from unittest2.compatibility import wraps __unittest = True class _InterruptHandler(object): def __init__(self, default_handler): self.called = False self.default_handler = default_handler def __call__(self, signum, frame): installed_handler = signal.get...
Python
"""Test result object""" import sys import traceback import unittest from StringIO import StringIO from unittest2 import util from unittest2.compatibility import wraps __unittest = True def failfast(method): def inner(self, *args, **kw): if getattr(self, 'failfast', False): self.stop() ...
Python
import os import sys from unittest2.loader import defaultTestLoader def collector(): # import __main__ triggers code re-execution __main__ = sys.modules['__main__'] setupDir = os.path.abspath(os.path.dirname(__main__.__file__)) return defaultTestLoader.discover(setupDir)
Python
"""TestSuite""" import sys import unittest from unittest2 import case, util __unittest = True class BaseTestSuite(unittest.TestSuite): """A simple test suite that doesn't provide class or module shared fixtures. """ def __init__(self, tests=()): self._tests = [] self.addTests(tests) ...
Python
"""Test case implementation""" import sys import difflib import pprint import re import unittest import warnings if sys.version_info[:2] == (2,3): from sets import Set as set from sets import ImmutableSet as frozenset from unittest2 import result from unittest2.util import\ safe_repr, safe_str, strclass,...
Python
"""Various utility functions.""" __unittest = True _MAX_LENGTH = 80 def safe_repr(obj, short=False): try: result = repr(obj) except Exception: result = object.__repr__(obj) if not short or len(result) < _MAX_LENGTH: return result return result[:_MAX_LENGTH] + ' [truncated]...'...
Python
""" unittest2 unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7. It is tested to run on Python 2.4 - 2.6. To use unittest2 instead of unittest simply replace ``import unittest`` with ``import unittest2``. Copyright (c) 1999-2003 Steve Purcell Copyright (c) 2003-2010 P...
Python
"""Main entry point""" import sys if sys.argv[0].endswith("__main__.py"): sys.argv[0] = "unittest2" __unittest = True from unittest2.main import main_ main_()
Python
"""Loading unittests.""" import os import re import sys import traceback import types import unittest from fnmatch import fnmatch from unittest2 import case, suite try: from os.path import relpath except ImportError: from unittest2.compatibility import relpath __unittest = True def _CmpToKey(mycmp): ...
Python
"""Running tests""" import sys import time import unittest from unittest2 import result try: from unittest2.signals import registerResult except ImportError: def registerResult(_): pass __unittest = True class _WritelnDecorator(object): """Used to decorate file-like objects with a handy 'w...
Python
import sys import warnings import unittest2 def resultFactory(*_): return unittest2.TestResult() class OldTestResult(object): """An object honouring TestResult before startTestRun/stopTestRun.""" def __init__(self, *_): self.failures = [] self.errors = [] self.testsRun = 0 ...
Python
#
Python
#
Python
# # junitxml: extensions to Python unittest to get output junitxml # Copyright (C) 2009 Robert Collins <robertc@robertcollins.net> # # Copying permitted under the LGPL-3 licence, included with this library. import unittest as unittest2 from junitxml.tests import ( test_junitxml, ) def test_suite(): re...
Python
# # junitxml: extensions to Python unittest to get output junitxml # Copyright (C) 2009 Robert Collins <robertc@robertcollins.net> # # Copying permitted under the LGPL-3 licence, included with this library. """unittest compatible JUnit XML output.""" import datetime import re import time import unittest2 as unitt...
Python
#!/usr/bin/env python import os import sys from macholib.MachOStandalone import MachOStandalone from macholib.util import strip_files def standaloneApp(path): if not os.path.isdir(path) and os.path.exists( os.path.join(path, 'Contents')): raise SystemExit('%s: %s does not look like an app bun...
Python
""" Utilities for reading and writing Mach-O headers """ from __future__ import print_function import sys import struct from macholib.mach_o import * from macholib.dyld import dyld_find, framework_info from macholib.util import fileview try: from macholib.compat import bytes except ImportError: pass try: ...
Python
#!/usr/bin/env python from __future__ import print_function from macholib._cmdline import main as _main def print_file(fp, path): print(path, file=fp) def main(): _main(print_file) if __name__ == '__main__': try: main(print_file) except KeyboardInterrupt: pass
Python
""" Utilities for reading and writing Mach-O headers """ import os import sys from altgraph.Graph import Graph from altgraph.ObjectGraph import ObjectGraph from macholib.mach_o import * from macholib.dyld import dyld_find from macholib.MachO import MachO from macholib.itergraphreport import itergraphreport __all__ ...
Python
""" Class to read the symbol table from a Mach-O header """ from macholib.mach_o import * __all__ = ['SymbolTable'] # XXX: Does not support 64-bit, probably broken anyway class SymbolTable(object): def __init__(self, macho, openfile=None): if openfile is None: openfile = open self.ma...
Python
import os from macholib.MachOGraph import MachOGraph, MissingMachO from macholib.util import iter_platform_files, in_system_path, mergecopy, \ mergetree, flipwritable, has_filename_filter from macholib.dyld import framework_info from collections import deque class ExcludedMachO(MissingMachO): pass class Filt...
Python
#!/usr/bin/env python from __future__ import print_function import os import sys from macholib._cmdline import main as _main from macholib.MachO import MachO from macholib.mach_o import * ARCH_MAP={ ('<', '64-bit'): 'x86_64', ('<', '32-bit'): 'i386', ('>', '64-bit'): 'pp64', ('>', '32-bit'): 'ppc', ...
Python