From mboxrd@z Thu Jan 1 00:00:00 1970 From: John McNamara Subject: [PATCH v2 3/3] doc: add required python versions to docs Date: Sun, 18 Dec 2016 14:25:50 +0000 Message-ID: <1482071150-13817-4-git-send-email-john.mcnamara@intel.com> References: <1481212265-10229-1-git-send-email-john.mcnamara@intel.com> Cc: mkletzan@redhat.com, thomas.monjalon@6wind.com, nhorman@tuxdriver.com, John McNamara To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8E510F921 for ; Sun, 18 Dec 2016 15:26:20 +0100 (CET) In-Reply-To: <1481212265-10229-1-git-send-email-john.mcnamara@intel.com> 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 requirement to support both Python 2 and 3 to the DPDK Python Coding Standards and Getting started Guide. Signed-off-by: John McNamara --- doc/guides/contributing/coding_style.rst | 3 ++- doc/guides/linux_gsg/sys_reqs.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index 1eb67f3..4163960 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -690,6 +690,7 @@ Control Statements Python Code ----------- -All python code should be compliant with `PEP8 (Style Guide for Python Code) `_. +All Python code should work with Python 2.7+ and 3.2+ and be compliant with +`PEP8 (Style Guide for Python Code) `_. The ``pep8`` tool can be used for testing compliance with the guidelines. diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index 3d74342..9653a13 100644 --- a/doc/guides/linux_gsg/sys_reqs.rst +++ b/doc/guides/linux_gsg/sys_reqs.rst @@ -86,7 +86,7 @@ Compilation of the DPDK .. note:: - Python, version 2.6 or 2.7, to use various helper scripts included in the DPDK package. + Python, version 2.7+ or 3.2+, to use various helper scripts included in the DPDK package. **Optional Tools:** -- 2.7.4