From patchwork Thu Dec 8 16:03:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John McNamara X-Patchwork-Id: 17774 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 966A637A8; Thu, 8 Dec 2016 17:04:25 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 71D3B2A66 for ; Thu, 8 Dec 2016 17:04:05 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP; 08 Dec 2016 08:04:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,320,1477983600"; d="scan'208";a="40408901" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by fmsmga005.fm.intel.com with ESMTP; 08 Dec 2016 08:04:03 -0800 From: John McNamara To: dev@dpdk.org Cc: mkletzan@redhat.com, John McNamara Date: Thu, 8 Dec 2016 16:03:51 +0000 Message-Id: <1481213032-14935-3-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1481212265-10229-1-git-send-email-john.mcnamara@intel.com> References: <1481212265-10229-1-git-send-email-john.mcnamara@intel.com> Subject: [dpdk-dev] [PATCH v2 3/4] app: give python apps a consistent shebang line X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add a consistent "env python" shebang line to the DPDK Python apps so that they can call the default system python. Signed-off-by: John McNamara --- app/test/autotest_test_funcs.py | 2 +- doc/guides/conf.py | 2 ++ tools/dpdk-devbind.py | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/autotest_test_funcs.py b/app/test/autotest_test_funcs.py index c482ea8..1fa8cf0 100644 --- a/app/test/autotest_test_funcs.py +++ b/app/test/autotest_test_funcs.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # BSD LICENSE # diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 34c62de..97c5d0e 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + # BSD LICENSE # Copyright(c) 2010-2015 Intel Corporation. All rights reserved. # All rights reserved. diff --git a/tools/dpdk-devbind.py b/tools/dpdk-devbind.py index 4f51a4b..a5b2af5 100755 --- a/tools/dpdk-devbind.py +++ b/tools/dpdk-devbind.py @@ -1,4 +1,5 @@ -#! /usr/bin/python +#!/usr/bin/env python + # # BSD LICENSE #