From f99038c2d8ad7019ef3cc4e9276a36d075bb1e560968cf5618d4eb53261096bb Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 2 Oct 2016 18:24:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=54 --- call_python2.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 call_python2.patch diff --git a/call_python2.patch b/call_python2.patch new file mode 100644 index 0000000..dc4b820 --- /dev/null +++ b/call_python2.patch @@ -0,0 +1,14 @@ + + + +--- a/py2pack/requires.py ++++ b/py2pack/requires.py +@@ -52,7 +52,7 @@ + else: + os.chdir(tmp_dir) + # generate a temporary json file which contains the metadata +- cmd = "python setup.py -q --command-packages py2pack " \ ++ cmd = "python3 setup.py -q --command-packages py2pack " \ + "get_metadata -o %s " % tempfile_json.name + try: + subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)