<|file_name|>configure.py<|end_file_name|><｜fim▁begin｜>#!/usr/bin/python
# coding: utf8

import os
import subprocess
from '{% if cookiecutter.namespace %}{{ cookiecutter.namespace }}.{{ cookiecutter.project_slug }}{% else %}{{ cookiecutter.project_slug }}{% endif %}'.commands.base import BaseCommand
from '{% if cookiecutter.namespace %}{{ cookiecutter.namespace }}.{{ cookiecutter.project_slug }}{% else %}{{ cookiecutter.project_slug }}{% endif %}' import PROJECT_DIR


class Configure(BaseCommand):
    <|fim_middle|>

<｜fim▁end｜>
    def execute(self):
        os.chdir(os.path.join(PROJECT_DIR, 'build'))
        subprocess.run(['cmake', PROJECT_DIR])