Skip to content

Commit b1e9f43

Browse files
setup.py: updated to use mupdf-1.24.9.
1 parent 54a144c commit b1e9f43

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
386386
log(f'get_mupdf_internal(): {out=} {location=} {sha=}')
387387
assert out in ('dir', 'tgz')
388388
if location is None:
389-
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.8-source.tar.gz'
389+
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.9-source.tar.gz'
390390
#location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git'
391391

392392
if location == '':
@@ -430,7 +430,8 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
430430
log(f'Not downloading from {location} because already present: {local_tgz!r}')
431431
else:
432432
log(f'Downloading from {location=} to {local_tgz=}.')
433-
urllib.request.urlretrieve( location, local_tgz)
433+
urllib.request.urlretrieve( location, local_tgz + '-')
434+
os.rename(local_tgz + '-', local_tgz)
434435
assert os.path.exists( local_tgz)
435436
tar_check( local_tgz, 'r:gz', prefix=f'{name}/')
436437
else:
@@ -1044,8 +1045,8 @@ def sdist():
10441045
# We generate different wheels depending on PYMUPDF_SETUP_FLAVOUR.
10451046
#
10461047

1047-
version_p = '1.24.9'
1048-
version_b = '1.24.9'
1048+
version_p = '1.24.10'
1049+
version_b = '1.24.10'
10491050

10501051
if os.path.exists(f'{g_root}/{g_pymupdfb_sdist_marker}'):
10511052

0 commit comments

Comments
 (0)