From 83fe878986d5172007bee1dd3e57c2ccd3f1af2b Mon Sep 17 00:00:00 2001 From: Kevin Chau Date: Mon, 16 Oct 2023 16:54:29 -0700 Subject: [PATCH] Bump zlib to v1.3 zlib 1.2.13's release zip has been pulled, use zlib13.zip --- setup.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index a7d47e2..2aeb82b 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ import os import sys import glob -import tarfile import zipfile import urllib.request from setuptools import setup, Extension @@ -17,9 +16,9 @@ def prepare_zlib(): global include_dirs global sources - zlib_dir = os.path.join(root_dir, "zlib-1.2.13") - zlib_file = os.path.join(root_dir, "zlib-1.2.13.zip") - url = "https://github.com/madler/zlib/releases/download/v1.2.13/zlib1213.zip" + zlib_dir = os.path.join(root_dir, "zlib-1.3") + zlib_file = os.path.join(root_dir, "zlib-1.3.zip") + url = "https://zlib.net/zlib13.zip" if not os.path.exists(zlib_dir): urllib.request.urlretrieve(url, zlib_file)