# HG changeset patch # User Anton Shestakov # Date 1604934606 -28800 # Node ID 9d6c3e227455b4d32c548a9dbd989ddf5fae16b8 # Parent 5ea837c515d9676a66dac654d4870f74e262be59 test2rst: use python3 Seems to just work, no porting necessary. To sanity-check the script, I've used some non-ascii symbols in the .t files (utf-8) and things worked fine. diff -r 5ea837c515d9 -r 9d6c3e227455 docs/makefile --- a/docs/makefile Mon Nov 09 23:08:15 2020 +0800 +++ b/docs/makefile Mon Nov 09 23:10:06 2020 +0800 @@ -5,10 +5,10 @@ $(SPHINXBUILD) . ../html/ tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py - python test2rst.py $< + python3 test2rst.py $< tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py - python test2rst.py $< + python3 test2rst.py $< static/logo-evolve.ico: static/logo-evolve.svg convert -resize 36x36 $< $@ diff -r 5ea837c515d9 -r 9d6c3e227455 docs/test2rst.py --- a/docs/test2rst.py Mon Nov 09 23:08:15 2020 +0800 +++ b/docs/test2rst.py Mon Nov 09 23:10:06 2020 +0800 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import re