From c47c9988adfd1d43f578e65ab03f91efd555083f Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Fri, 1 Sep 2023 11:07:34 +0000 Subject: [PATCH] removed temp hack --- setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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"