changeset 5660:9d6c3e227455 stable

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.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 09 Nov 2020 23:10:06 +0800
parents 5ea837c515d9
children 4b6b559b92c8
files docs/makefile docs/test2rst.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 $< $@
--- 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