30 lines
898 B
Diff
30 lines
898 B
Diff
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 8b81362..4c0d714 100755
|
|
--- a/codegen.py
|
|
+++ b/codegen.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
## The contents of this file are subject to the Mozilla Public License
|
|
## Version 1.1 (the "License"); you may not use this file except in
|
|
diff --git a/development.post.mk b/development.post.mk
|
|
index 65708db..ec905a4 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
|