Skip to content

Commit c47c998

Browse files
committed
removed temp hack
1 parent 7b8791f commit c47c998

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ def _download_and_extract(self, filename: str) -> pathlib.Path:
197197
source_url = "http://download.openzim.org/release/libzim"
198198
if self.is_nightly:
199199
source_url = f"http://download.openzim.org/nightly/{self.libzim_dl_version}"
200-
# temp hack
201-
if self.arch == "aarch64" and self.platform == "Linux" and not self.is_musl:
202-
source_url = "http://tmp.kiwix.org/ci"
203200
url = f"{source_url}/{fpath.name}"
204201

205202
# download a local copy if none present
@@ -260,7 +257,7 @@ def _install_from(self, folder: pathlib.Path):
260257
)
261258

262259
def cleanup(self):
263-
""" removes created files to prevent re-run issues"""
260+
"""removes created files to prevent re-run issues"""
264261
# we downloaded libzim, so we must remove it
265262
if self.download_libzim:
266263
print("removing downloaded libraries")
@@ -271,7 +268,6 @@ def cleanup(self):
271268
print("removing downloaded headers")
272269
shutil.rmtree(self.header_file.parent, ignore_errors=True)
273270

274-
275271
@property
276272
def header_file(self) -> pathlib.Path:
277273
return self.base_dir / "include" / "zim" / "zim.h"

0 commit comments

Comments
 (0)