def _write_project_config(config_data, dirpath, filename="<STR_LIT>"):
conf_file_path = os.path.join(dirpath, filename)<EOL>with open(conf_file_path, '<STR_LIT:w>') as conf_file:<EOL><INDENT>yaml.safe_dump(config_data, conf_file)<EOL><DEDENT>return conf_file_path<EOL>
Write the configuration file for a Project.

:param dict config_data: configuration data to write to disk
:param str dirpath: path to folder in which to place file
:param str filename: name for config file
:return str: path to config file written