Skip to content

Commit a746d2c

Browse files
setup.py: use {version_b} to calculate mupdf download URL instead of hard-coding.
1 parent b918500 commit a746d2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
425425
log(f'get_mupdf_internal(): {out=} {location=} {sha=}')
426426
assert out in ('dir', 'tgz')
427427
if location is None:
428-
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.10-source.tar.gz'
428+
location = f'https://mupdf.com/downloads/archive/mupdf-{version_b}-source.tar.gz'
429429
#location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git'
430430

431431
if location == '':

0 commit comments

Comments
 (0)