()
return iter(all_ep)
Return an iterator over the entry points yielding 'Example Workflows'
Return an iterator over the entry points yielding 'Example Workflows'
Return an iterator over the entry points yielding Example Workflows
def examples_entry_points():
        # type: () -> Iterable[pkg_resources.EntryPoint]
        """
        Return an iterator over the entry points yielding 'Example Workflows'
        """
        # `iter_entry_points` yields them in unspecified order, so we order
        # them by name. The default is at the beginning, unless another
        # entrypoint precedes it alphabetically (e.g. starting with '!').
        default_ep = pkg_resources.EntryPoint(
            "000-Orange3", "Orange.canvas.workflows",
            dist=pkg_resources.get_distribution("Orange3"))

        all_ep = list(pkg_resources.iter_entry_points("orange.widgets.tutorials"))
        all_ep.append(default_ep)
        all_ep.sort(key=lambda x: x.name)
        return iter(all_ep)
def examples_entry_points ( ) : # type: () -> Iterable[pkg_resources.EntryPoint] # `iter_entry_points` yields them in unspecified order, so we order # them by name. The default is at the beginning, unless another # entrypoint precedes it alphabetically (e.g. starting with '!'). default_ep = pkg_resources . EntryPoint ( "000-Orange3" , "Orange.canvas.workflows" , dist = pkg_resources . get_distribution ( "Orange3" ) ) all_ep = list ( pkg_resources . iter_entry_points ( "orange.widgets.tutorials" ) ) all_ep . append ( default_ep ) all_ep . sort ( key = lambda x : x . name ) return iter ( all_ep )