From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 7815B2E83 for ; Wed, 10 Feb 2016 11:06:38 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id 128so19662317wmz.1 for ; Wed, 10 Feb 2016 02:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=q21V7ZQ/Jdz6Cgy98NTKaHUqyclfMiV2lkWDr0f1Uo8=; b=MV+u7KMe8M6BbAj/xtwx31RlhZs0ovmtiQ6Orhj/F0lKkP60sBwgB6BbiLISGVWb/s bRD1Vsstjo7smo1zxRCX4AX6dPmfpKOJnGG44MQwi0md9U5lhUiUXoabkYrKyDRezpcu ra3CC0yC4XphTJW9mZN1kYOCujyw1vEcl3XKjJES0zbKwavhGeZLqWdPv84/Gyxl3Quc h+Tfy0lNbpoJOFhM9C5XS/d/fhLAqkJU4zXUo3M0HRkiTS2e7NlSvuNoQtzfV994bFO9 blsscGo1kt5fPee6L4LS5Nftcdeus5hX9PF50S1XkzdGrsNHCkXh3q2znCgkj+ozlDMp 01TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=q21V7ZQ/Jdz6Cgy98NTKaHUqyclfMiV2lkWDr0f1Uo8=; b=dT0Be7a7TvLVypQgBXtGqM7hZjYQBUkHeqYXyoCB3JKhQkXSxs6YQQzi81dvVkRNHY cMT61ohzUwLBW5xMlM9MBqywSSA3r6PVZiK21ufDdem71n/9WNm2c8AU//AjrtixDZPt ZeLeDo8yuGm1h2aZVGwvGFYyzuzP5Lv/C3R5UoD6q1X+03EDNfYYZ/ctPYy9xkx9eAT2 YMlTTr/9eVpYlw0AZDFGLbHIdUfbm0Gaqj7fSMem5HE0lvkqlafRk5uUdMSxoeLvynQh Af9DMdhRsdD5de14vNmgOShPwFQLLLS/O85EPRC7SzZ2jfXHdh69F+ZH2Q9PqcXbiy8i UNjg== X-Gm-Message-State: AG10YORx+mp4uRepfwzAMe/0PiIFpXv1bY8q0n4MbdwOew71Tn/kSz+qbrSeXLs3J5S0+DHn X-Received: by 10.194.78.148 with SMTP id b20mr14576677wjx.71.1455098798376; Wed, 10 Feb 2016 02:06:38 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id hm9sm2185564wjb.34.2016.02.10.02.06.37 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 02:06:37 -0800 (PST) From: Thomas Monjalon To: harry.van.haaren@intel.com Date: Wed, 10 Feb 2016 11:05:04 +0100 Message-Id: <1455098706-23765-2-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1455098706-23765-1-git-send-email-thomas.monjalon@6wind.com> References: <1455098706-23765-1-git-send-email-thomas.monjalon@6wind.com> Cc: web@dpdk.org Subject: [dpdk-web] [PATCH 1/3] local: allow to force Python 2 X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 10:06:38 -0000 The default Python may be version 3 which is not compatible with BaseHTTPServer import (integrated as http.server in 3.x). The workaround is to specify PYTHON2=python2 on the command line. Signed-off-by: Thomas Monjalon --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2a7602a..56dc512 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +PYTHON2 = python local: - python scripts/serve_local.py + $(PYTHON2) scripts/serve_local.py -- 2.7.0