You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
796 B
30 lines
796 B
5 years ago
|
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/codegen.py b/codegen.py
|
||
|
index dc4480a..cf93227 100755
|
||
|
--- a/codegen.py
|
||
|
+++ b/codegen.py
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-#!/usr/bin/env python
|
||
|
+#!/usr/bin/python3
|
||
|
|
||
|
from __future__ import print_function
|
||
|
|
||
|
diff --git a/development.post.mk b/development.post.mk
|
||
|
index 3f8301a..b7f960a 100644
|
||
|
--- a/development.post.mk
|
||
|
+++ b/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
|