Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a1312a

Browse files
committed
Revert building venv manually
Closes: #123
1 parent 15d62bb commit 1a1312a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/scripts/build.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,5 @@ error() {
1313
cd cpython/Doc || exit 1
1414
mkdir -p locales/"$LOCALE"/
1515
ln -sfn "$(realpath ../../docs)" locales/"$LOCALE"/LC_MESSAGES
16-
17-
# make venv
18-
# create venv manually, so we can specify sphinx version
19-
VENVDIR=./venv
20-
python3 -m venv $VENVDIR
21-
$VENVDIR/bin/python3 -m pip install -U pip setuptools
22-
$VENVDIR/bin/python3 -m pip install -r https://raw.githubusercontent.com/python/docsbuild-scripts/master/requirements.txt
23-
make html VENVDIR=$VENVDIR SPHINXOPTS="-D language=$LOCALE -D gettext_compact=0 -W --keep-going -j2" 2> >(error)
16+
make venv
17+
make html SPHINXOPTS="-D language=$LOCALE -D gettext_compact=0 -W --keep-going -j2" 2> >(error)

0 commit comments

Comments
 (0)