Package: psi4 / 1:1.2.1-2

runtests_python3.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
--- ./tests/runtest.py.orig	2018-12-09 21:19:51.404141962 +0100
+++ ./tests/runtest.py	2018-12-09 21:23:21.501487923 +0100
@@ -111,7 +111,7 @@
     infile = infile.replace(".dat", ".py")
     os.environ["PYTHONPATH"] = psilibdir
     outfile = os.path.dirname(infile) + os.path.sep + outfile
-    pyexitcode = backtick(["python", infile, " > ", outfile])
+    pyexitcode = backtick(["python3", infile, " > ", outfile])
 else:
     raise Exception("\n\nError: Input file %s not found\n" % infile)