From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 18 Dec 2016 06:26:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,369,1477983600"; d="scan'208";a="799639936" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by FMSMGA003.fm.intel.com with ESMTP; 18 Dec 2016 06:26:18 -0800 From: John McNamara To: dev@dpdk.org Cc: mkletzan@redhat.com, thomas.monjalon@6wind.com, nhorman@tuxdriver.com, John McNamara Date: Sun, 18 Dec 2016 14:25:50 +0000 Message-Id: <1482071150-13817-4-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/3] doc: add required python versions to docs 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: , X-List-Received-Date: Sun, 18 Dec 2016 14:26:20 -0000 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