Drop some doc BR’s when PDF docs are disabled
This commit is contained in:
parent
bd14450f19
commit
3ebb73349b
1 changed files with 4 additions and 1 deletions
|
|
@ -65,7 +65,10 @@ sed -r -i 's/[-]-cov[^[:blank:]]*[[:blank:]][^[[:blank:]]+//g' tox.ini
|
|||
#
|
||||
# Don’t generate twine dependency, which is just for the upstream maintainer
|
||||
# uploading to PyPI.
|
||||
sed -r '/^(flake8|pytest-cov|pandoc|coverage|coveralls|twine)\b/d' \
|
||||
sed -r -e '/^(flake8|pytest-cov|pandoc|coverage|coveralls|twine)\b/d' \
|
||||
%if %{without doc_pdf}
|
||||
-e '/^(ipykernel|nbconvert|.*sphinx)/d' \
|
||||
%endif
|
||||
requirements-dev.txt | tee requirements-dev-filtered.txt
|
||||
|
||||
# We don’t need shebangs in the examples. The pattern of selecting files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue