code: def read_configuration(self):
          
          # get distutils to do the work
          c = self._get_pypirc_command()
          c.repository = self.url
          cfg = c._read_pypirc()
          self.username = cfg.get('username')
          self.password = cfg.get('password')
          self.realm = cfg.get('realm', 'pypi')
          self.url = cfg.get('repository', self.url)
docs: Read the PyPI access configuration as supported by distutils, getting
          PyPI to do the actual work. This populates ``username``, ``password``,
          ``realm`` and ``url`` attributes from the configuration.