Skip to content

Commit a8d9d5b

Browse files
authored
Merge branch 'main' into include-mask-images
2 parents f5d5734 + dd828bd commit a8d9d5b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scripts/sysinstall.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def run(command, env_extra=None):
227227
#
228228
if pip == 'sudo':
229229
log('## Installing Python packages required for building MuPDF and PyMuPDF.')
230-
run(f'sudo pip install --upgrade pip')
230+
#run(f'sudo pip install --upgrade pip') # Breaks on Github see: https://github.com/pypa/get-pip/issues/226.
231231
names = test_py.wrap_get_requires_for_build_wheel(f'{__file__}/../..')
232232
run(f'sudo pip install {names}')
233233

@@ -275,7 +275,7 @@ def run(command):
275275
run(f'. {venv_name}/bin/activate && pip install --upgrade installer')
276276
run(f'{env} {venv_name}/bin/python -m pip wheel -vv -w dist {os.path.abspath(pymupdf_dir)}')
277277
elif pip == 'sudo':
278-
run(f'sudo pip install --upgrade pip')
278+
#run(f'sudo pip install --upgrade pip') # Breaks on Github see: https://github.com/pypa/get-pip/issues/226.
279279
run(f'sudo pip install installer')
280280
run(f'{env} pip wheel -vv -w dist {os.path.abspath(pymupdf_dir)}')
281281
else:

scripts/test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
environment variable `PYMUPDF_SETUP_MUPDF_BUILD_TYPE`, which is used by
4545
PyMuPDF's `setup.py`.]
4646
-d
47-
Equivalent to `--build-type debug`.
47+
Equivalent to `-b debug`.
4848
-f 0|1
4949
If 1 we also test alias `fitz` as well as `pymupdf`. Default is '0'.
5050
-i <implementations>
@@ -54,7 +54,8 @@
5454
'R' - rebased without optimisations.
5555
Default is 'r'. Also see `PyMuPDF:tests/run_compound.py`.
5656
-k <expression>
57-
Select which test(s) to run; passed straight through to pytest's `-k`.
57+
Specify which test(s) to run; passed straight through to pytest's `-k`.
58+
For example `-k test_3354`.
5859
-m <location> | --mupdf <location>
5960
Location of local mupdf/ directory or 'git:...' to be used
6061
when building PyMuPDF. [This sets environment variable

0 commit comments

Comments
 (0)