Re: [dpdk-dev] [PATCH] Force python scripts to run with python2

2016-12-08 Thread Mcnamara, John
> -Original Message- > From: Martin Kletzander [mailto:mklet...@redhat.com] > Sent: Thursday, December 8, 2016 8:40 AM > To: Thomas Monjalon > Cc: dev@dpdk.org; Mcnamara, John > Subject: Re: [dpdk-dev] [PATCH] Force python scripts to run with python2 > > On We

Re: [dpdk-dev] [PATCH] Force python scripts to run with python2

2016-12-07 Thread Thomas Monjalon
2016-12-07 12:04, Mcnamara, John: > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Martin Kletzander > > Sent: Wednesday, December 7, 2016 10:17 AM > > To: dev@dpdk.org > > Subject: [dpdk-dev] [PATCH] Force python scripts to

Re: [dpdk-dev] [PATCH] Force python scripts to run with python2

2016-12-07 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Martin Kletzander > Sent: Wednesday, December 7, 2016 10:17 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] Force python scripts to run with python2 > > With python3 being the default

[dpdk-dev] [PATCH] Force python scripts to run with python2

2016-12-07 Thread Martin Kletzander
With python3 being the default in some distributions/installations, shebang with just "python" will make the script run under version of python that the scripts are not written for. In order to fix that and mitigate future errors, use shebang properly and specify the python version. That way the