def _install_aldryn(config_data):  
import requests<EOL>media_project = os.path.join(config_data.project_directory, '<STR_LIT>', '<STR_LIT>')<EOL>static_main = False<EOL>static_project = os.path.join(config_data.project_directory, '<STR_LIT>', '<STR_LIT>')<EOL>template_target = os.path.join(config_data.project_directory, '<STR_LIT>')<EOL>tmpdir = tempfile.mkdtemp()<EOL>aldrynzip = requests.get(data.ALDRYN_BOILERPLATE)<EOL>zip_open = zipfile.ZipFile(BytesIO(aldrynzip.content))<EOL>zip_open.extractall(path=tmpdir)<EOL>for component in os.listdir(os.path.join(tmpdir, '<STR_LIT>')):<EOL><INDENT>src = os.path.join(tmpdir, '<STR_LIT>', component)<EOL>dst = os.path.join(config_data.project_directory, component)<EOL>if os.path.isfile(src):<EOL><INDENT>shutil.copy(src, dst)<EOL><DEDENT>else:<EOL><INDENT>shutil.copytree(src, dst)<EOL><DEDENT><DEDENT>shutil.rmtree(tmpdir)<EOL>return media_project, static_main, static_project, template_target<EOL>
Install aldryn boilerplate

:param config_data: configuration data