'Save the PyPI access configuration. You must have set ``username`` and
``password`` attributes before calling this method.
Again, distutils is used to do the actual work.'

def save_configuration(self):

    self.check_credentials()
    c = self._get_pypirc_command()
    c._store_pypirc(self.username, self.password)
