diff --git a/setup.py b/setup.py index 11a68f16..87a50631 100755 --- a/setup.py +++ b/setup.py @@ -197,9 +197,6 @@ def _download_and_extract(self, filename: str) -> pathlib.Path: source_url = "http://download.openzim.org/release/libzim" if self.is_nightly: source_url = f"http://download.openzim.org/nightly/{self.libzim_dl_version}" - # temp hack - if self.arch == "aarch64" and self.platform == "Linux" and not self.is_musl: - source_url = "http://tmp.kiwix.org/ci" url = f"{source_url}/{fpath.name}" # download a local copy if none present @@ -260,7 +257,7 @@ def _install_from(self, folder: pathlib.Path): ) def cleanup(self): - """ removes created files to prevent re-run issues""" + """removes created files to prevent re-run issues""" # we downloaded libzim, so we must remove it if self.download_libzim: print("removing downloaded libraries") @@ -271,7 +268,6 @@ def cleanup(self): print("removing downloaded headers") shutil.rmtree(self.header_file.parent, ignore_errors=True) - @property def header_file(self) -> pathlib.Path: return self.base_dir / "include" / "zim" / "zim.h"