def run(self):
        if self.corpora_zip_url is None:
            self.corpora_zip_url = \
                "https://github.com/dariusk/corpora/archive/master.zip"
        print("Installing corpora data from " + self.corpora_zip_url)
        mkpath("./corpora-download")
        resp = urlopen(self.corpora_zip_url).read()
        remote = io.BytesIO(resp)
        zf = zipfile.ZipFile(remote, "r")
        zf.extractall("corpora-download")
        try:
            data_dir = glob.glob("./corpora-download/*/data")[0]
        except __HOLE__:
            raise IndexError(
                "malformed corpora archive: expecting a subdirectory '*/data'")
        copy_tree(data_dir, "pycorpora/data")
        install.run(self)
dataset/ETHPy150Open aparrish/pycorpora/setup.py/DownloadAndInstall.run