def remove(package_name):
    """Removes a holodeck package.

    Args:
        package_name (str): the name of the package to remove
    """
    if package_name not in packages:
        raise HolodeckException("Unknown package name " + package_name)
    for config, path in _iter_packages():
        if config["name"] == package_name:
            shutil.rmtree(path)
Removes a holodeck package.

    Args:
        package_name (str): the name of the package to remove