def archive(self, spiders=None, **kwargs):
        """
        Zip the contents or a subset of the contents in this project together
        """
        zbuff = BytesIO()
        self._archive = zipfile.ZipFile(zbuff, "w", zipfile.ZIP_DEFLATED)
        self._add_files(spiders)
        if kwargs.get('egg_info'):
            self.add_egg_info()
        self._archive.close()
        zbuff.seek(0)
        return zbuff

        Zip the contents or a subset of the contents in this project together
        
portia_server/portia_api/utils/download.py