Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)
High-level interface, takes iterables for:
    scripts, includes, packages, excludes

And returns a :class:`modulegraph.modulegraph.ModuleGraph` instance,
python_files, and extensions

python_files is a list of pure python dependencies as modulegraph.Module objects,
extensions is a list of platform-specific C extension dependencies as modulegraph.Module objects

        def find_modules(scripts=(), includes=(), packages=(), excludes=(), path=None, debug=0):
    """
    High-level interface, takes iterables for:
        scripts, includes, packages, excludes

    And returns a :class:`modulegraph.modulegraph.ModuleGraph` instance,
    python_files, and extensions

    python_files is a list of pure python dependencies as modulegraph.Module objects,
    extensions is a list of platform-specific C extension dependencies as modulegraph.Module objects
    """
    scripts = set(scripts)
    includes = set(includes)
    packages = set(packages)
    excludes = set(excludes)
    plat_prepare(includes, packages, excludes)
    mf = modulegraph.ModuleGraph(
        path=path,
        excludes=(excludes - includes),
        implies=get_implies(),
        debug=debug,
    )
    find_needed_modules(mf, scripts, includes, packages)
    return mf
        


src/p/l/pluginbuilder-1.1.0/pluginbuilder/build_plugin.py   pluginbuilder(Download)
from pkg_resources import resource_filename
 
from modulegraph.find_modules import find_modules, parse_mf_results
from modulegraph.modulegraph import SourceModule, Package, os_listdir
from modulegraph.util import imp_find_module
    def collect_all(self):
        debug = 4 if self.opts.debug_modulegraph else 0
        mf = find_modules(scripts=self.collect_scripts(), includes=self.opts.includes,
            packages=self.opts.packages, excludes=self.opts.excludes, debug=debug)
        filters = [has_filename_filter]

src/p/y/py2app-0.8/py2app/build_app.py   py2app(Download)
 
 
from modulegraph.find_modules import find_modules, parse_mf_results, find_needed_modules
from modulegraph.modulegraph import SourceModule, Package, Script
from modulegraph import zipio
            debug = 0
        return find_modules(
            scripts=self.collect_scripts(),
            includes=self.includes,
            packages=self.packages,

src/c/a/calibre-HEAD/setup/installer/osx/freeze.py   calibre(Download)
try:
    from py2app.build_app import py2app
    from modulegraph.find_modules import find_modules
    py2app
except ImportError:
            debug = 0
        return find_modules(
            scripts=scripts['console'] + scripts['gui'],
            includes=list(self.includes) + main_modules['console'],
            packages=self.packages,

src/m/o/modulegraph-0.11.1/modulegraph_tests/test_explicit_packages.py   modulegraph(Download)
 
        mf = find_modules.find_modules(
                path=[root]+sys.path,
                scripts=[os.path.join(root, "main_script.py")],
                packages=['pkg'],
 
        mf = find_modules.find_modules(
                path=[root]+sys.path,
                scripts=[os.path.join(root, "main_script.py")],
                packages=['pkg'],