<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def do_status(self, line):
        '''
        Show python packaging configuration status
        '''
        # Pyrene version
        print('{} {}'.format(bold('Pyrene version'), green(get_version())))

        # .pip/pip.conf - Pyrene repo name | exists or not
        pip_conf = os.path.expanduser('~/.pip/pip.conf')
        if os.path.exists(pip_conf):
            conf = read_file(pip_conf)
            repo = self._get_repo_for_pip_conf(conf)
            if repo:
                print(
                    '{} is configured for repository "{}"'
                    .format(bold(pip_conf), green(repo.name))
                )
            else:
                print(
                    '{} exists, but is a {}'
                    .format(bold(pip_conf), red('custom configuration'))
                )
        else:
            print('{} {}'.format(bold(pip_conf), red('does not exists')))

        # existence of ~/.pypirc
        if os.path.exists(self.pypirc):
            template = green('exists')
        else:
            template = red('does not exists')
        template = '{} ' + template
        print(template.format(bold(self.pypirc)))