code: def do_serve(self, repo_name):
          '''
          Serve a local directory over http as a package index (like pypi).
          Intended for quick package exchanges.
          '''
          self.abort_on_nonexisting_effective_repo(repo_name, 'serve')
  
          repo = self.network.get_repo(repo_name)
          repo.serve(f do_serve(self, repo_name):
          '''
          Serve a local directory over http as a package index (like pypi).
          Intended for quick package exchanges.
          '''
          self.abort_on_nonexisting_effective_repo(repo_name, 'serve')
  
          repo = self.network.get_repo(repo_name)
          repo.serve()
docs: Serve a local directory over http as a package index (like pypi).
          Intended for quick package exchanges.