def METHOD_NAME(
    config_file_name="~/.pyiron",
    zip_file="resources.tar.gz",
    project_path="~/pyiron/projects",
    resource_directory="~/pyiron/resources",
    giturl_for_zip_file="https://github.com/pyiron/pyiron-resources/releases/latest/download/resources.tar.gz",
    git_folder_name="resources",
):
    """
    Function to configure the pyiron installation.
    Args:
        config_file_name (str): configuration file name - usually ~/.pyiron
        zip_file (str): name of the compressed file
        project_path (str): the location where pyiron is going to store the pyiron projects
        resource_directory (str): the location where the resouces (executables, potentials, ...) for pyiron are stored.
        giturl_for_zip_file (str/None): url for the zipped resources file on github.
            (Default points to pyiron's github resource repository. If None, leaves the
            resources directory *empty*.)
        git_folder_name (str): name of the extracted folder
    """
    _write_config_file(
        file_name=config_file_name,
        project_path=project_path,
        resource_path=resource_directory,
    )
    if giturl_for_zip_file is not None:
        _download_resources(
            zip_file=zip_file,
            resource_directory=resource_directory,
            giturl_for_zip_file=giturl_for_zip_file,
            git_folder_name=git_folder_name,
        )
    else:
        os.makedirs(resource_directory)