File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 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>
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
You can’t perform that action at this time.
0 commit comments