Skip to content

Commit debdfa2

Browse files
committed
fix: scripts/mkdoc.sh now allows overriding Python with the PYTHON envvar
1 parent 8322002 commit debdfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mkdoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cd ${ROOT_FOLDER}
4747

4848
# Create a virtual environment
4949
if [ ! -d ".venv" ]; then
50-
python3 -m venv .venv
50+
${PYTHON:-python3} -m venv .venv
5151

5252
# Install sphinx, matplotlib, pandas, scipy, wheel and pydoctor into the venv.
5353
# doc2dash is optional; it will be installed when -d is given

0 commit comments

Comments
 (0)