From 3244ce215dd96d020a453810aa3fd70a0c57b1ee Mon Sep 17 00:00:00 2001
From: Kipp Cannon <kipp.cannon@ligo.org>
Date: Thu, 27 Sep 2018 18:57:44 +0900
Subject: [PATCH] gstlal: temporary hack for python elements

- elements must be installed using python3, but rest of this package
  requires python2 so we can't switch configure.ac over to it yet.  put a
  temporary hack into the gst/python/Makefile.am script to make it use the
  python3 interpreter during module install and byte-compile
---
 gstlal/gst/python/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gstlal/gst/python/Makefile.am b/gstlal/gst/python/Makefile.am
index b2078adaff..634c32789c 100644
--- a/gstlal/gst/python/Makefile.am
+++ b/gstlal/gst/python/Makefile.am
@@ -1,5 +1,8 @@
 # Put these Python scripts into the plugin directory under "python" so that
 # GStreamer sees them.
+# FIXME: elements must be byte-compiled with python 3.  remove when
+# configure.ac is picking up python3 for us
+PYTHON = $(shell env which python3)
 pkgpythondir = $(plugindir)/python
 pkgpyexecdir = $(pkgpythondir)
 
-- 
GitLab