Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ set -u
pip install -r requirements.txt
make -C cpython/Doc venv

# If cpython is set with Sphinx 9 or newer, replace it with maciek's patch
sphinx_ver=$(cpython/Doc/venv/bin/python -c 'import sphinx; print(sphinx.__version__[0])')
if [ ${sphinx_ver} -eq 9 ]; then
cpython/Doc/venv/bin/pip install git+https://github.com/m-aciek/sphinx.git@copilot/fix-last-four-cases-issue-14162
fi

if ! command -v tx > /dev/null; then
echo "WARNING: Transifex CLI tool was not found."
echo "If going to pull translations it is needed, can be ignored otherwise."
echo "See https://github.com/transifex/cli for install info"
echo "See https://github.com/transifex/cli for install info"
fi
Loading