Blob Blame History Raw
From: Lon Hohberger <lhh@redhat.com>
Date: Tue, 29 Jan 2019 11:36:11 -0500
Subject: [PATCH] force python3

Signed-off-by: Lon Hohberger <lhh@redhat.com>

diff --git a/deps/amqp10_common/codegen.py b/deps/amqp10_common/codegen.py
index dc4480a181..cf93227177 100755
--- a/deps/amqp10_common/codegen.py
+++ b/deps/amqp10_common/codegen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 from __future__ import print_function
 
diff --git a/deps/amqp10_common/development.post.mk b/deps/amqp10_common/development.post.mk
index 3f8301acd1..b7f960a7e7 100644
--- a/deps/amqp10_common/development.post.mk
+++ b/deps/amqp10_common/development.post.mk
@@ -2,7 +2,7 @@
 # Framing sources generation.
 # --------------------------------------------------------------------
 
-PYTHON       ?= python
+PYTHON       ?= python3
 CODEGEN       = $(CURDIR)/codegen.py
 CODEGEN_DIR  ?= $(DEPS_DIR)/rabbitmq_codegen
 CODEGEN_AMQP  = $(CODEGEN_DIR)/amqp_codegen.py
diff --git a/deps/rabbit_common/codegen.py b/deps/rabbit_common/codegen.py
index 2e7bad69e9..8a02fcbb31 100755
--- a/deps/rabbit_common/codegen.py
+++ b/deps/rabbit_common/codegen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 ##  This Source Code Form is subject to the terms of the Mozilla Public
 ##  License, v. 2.0. If a copy of the MPL was not distributed with this
diff --git a/deps/rabbit_common/development.post.mk b/deps/rabbit_common/development.post.mk
index 65708dbcd7..ec905a4615 100644
--- a/deps/rabbit_common/development.post.mk
+++ b/deps/rabbit_common/development.post.mk
@@ -2,7 +2,7 @@
 # Framing sources generation.
 # --------------------------------------------------------------------
 
-PYTHON       ?= python
+PYTHON       ?= python3
 CODEGEN       = $(CURDIR)/codegen.py
 CODEGEN_DIR  ?= $(DEPS_DIR)/rabbitmq_codegen
 CODEGEN_AMQP  = $(CODEGEN_DIR)/amqp_codegen.py