def load_starting_page(config_data):
    with chdir(config_data.project_directory):
        env = deepcopy(dict(os.environ))
        env[str('DJANGO_SETTINGS_MODULE')] = str('{0}.settings'.format(config_data.project_name))
        env[str('PYTHONPATH')] = str(os.pathsep.join(map(shlex_quote, sys.path)))
        subprocess.check_call([sys.executable, 'starting_page.py'], env=env)
        for ext in ['py', 'pyc', 'json']:
            try:
                os.remove('starting_page.{0}'.format(ext))
            except OSError:
                pass
Return named tuple of the upstream for active branch.
dataset/ETHPy150Open nephila/djangocms-installer/djangocms_installer/django/__init__.py/load_starting_page--crossover with--dataset/ETHPy150Open divmain/GitSavvy/core/git_mixins/remotes.py/RemotesMixin.get_active_remote_branch