(method: DependencyMethods, env: 'Environment', for_machine: MachineChoice)
return True
Report whether a method is valid or not.

        If the method is valid, return true, otherwise return false. This is
        used in a list comprehension to filter methods that are not possible.

        By default this only remove EXTRAFRAMEWORK dependencies for non-mac platforms.
Report whether a method is valid or not.
Report whether a method is valid or not .
def _process_method(method: DependencyMethods, env: 'Environment', for_machine: MachineChoice) -> bool:
        """Report whether a method is valid or not.

        If the method is valid, return true, otherwise return false. This is
        used in a list comprehension to filter methods that are not possible.

        By default this only remove EXTRAFRAMEWORK dependencies for non-mac platforms.
        """
        # Extra frameworks are only valid for macOS and other apple products
        if (method is DependencyMethods.EXTRAFRAMEWORK and
                not env.machines[for_machine].is_darwin()):
            return False
        return True
def _process_method ( method : DependencyMethods , env : 'Environment' , for_machine : MachineChoice ) -> bool : # Extra frameworks are only valid for macOS and other apple products if ( method is DependencyMethods . EXTRAFRAMEWORK and not env . machines [ for_machine ] . is_darwin ( ) ) : return False return True