def _check_vmware_player_requirements(self, player_version):
        """
        Check minimum requirements to use VMware Player.

        VIX 1.13 was the release for Player 6.
        VIX 1.14 was the release for Player 7.
        VIX 1.15 was the release for Workstation Player 12.

        :param player_version: VMware Player major version.
        """

        player_version = int(player_version)
        if player_version < 6:
            raise VMwareError("Using VMware Player requires version 6 or above")
        elif player_version == 6:
            yield from self.check_vmrun_version(minimum_required_version="1.13.0")
        elif player_version == 7:
            yield from self.check_vmrun_version(minimum_required_version="1.14.0")
        elif player_version >= 12:
            yield from self.check_vmrun_version(minimum_required_version="1.15.0")
        self._host_type = "player"
def _check_vmware_player_requirements ( self , player_version ) : player_version = int ( player_version ) if player_version < 6 : raise VMwareError ( "Using VMware Player requires version 6 or above" ) elif player_version == 6 : yield from self . check_vmrun_version ( minimum_required_version = "1.13.0" ) elif player_version == 7 : yield from self . check_vmrun_version ( minimum_required_version = "1.14.0" ) elif player_version >= 12 : yield from self . check_vmrun_version ( minimum_required_version = "1.15.0" ) self . _host_type = "player"
Check minimum requirements to use VMware Player.

        VIX 1.13 was the release for Player 6.
        VIX 1.14 was the release for Player 7.
        VIX 1.15 was the release for Workstation Player 12.

        :param player_version: VMware Player major version.