Skip to content

Commit

Permalink
setup.py: use {version_b} to calculate mupdf download URL instead of …
Browse files Browse the repository at this point in the history
…hard-coding.
  • Loading branch information
julian-smith-artifex-com committed Nov 19, 2024
1 parent b918500 commit a746d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
log(f'get_mupdf_internal(): {out=} {location=} {sha=}')
assert out in ('dir', 'tgz')
if location is None:
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.10-source.tar.gz'
location = f'https://mupdf.com/downloads/archive/mupdf-{version_b}-source.tar.gz'
#location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git'

if location == '':
Expand Down

0 comments on commit a746d2c

Please sign in to comment.