From f75aee6f691bd86e02c84f35d3dc52a6fe61f64c Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Tue, 6 Oct 2020 20:24:37 +0300 Subject: [PATCH] fixed build with python3-module-docutils on p9 branch --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6574d95..fc47630 100755 --- a/setup.py +++ b/setup.py @@ -166,7 +166,9 @@ from %(pkgname)s import %(filename)s if not rstbin: rstbin = find_executable("rst2man.py") if not rstbin: - sys.exit("Didn't find rst2man or rst2man.py") + rstbin = find_executable("rst2man.py3") + if not rstbin: + sys.exit("Didn't find rst2man or rst2man.py or rst2man.py3") for path in glob.glob("man/*.rst"): base = os.path.basename(path) -- libgit2 0.28.5