From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=D2TKxSrk; spf=pass (domain: linaro.org, ip: 209.85.128.66, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by groups.io with SMTP; Tue, 16 Jul 2019 07:22:06 -0700 Received: by mail-wm1-f66.google.com with SMTP id l2so18917104wmg.0 for ; Tue, 16 Jul 2019 07:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=toDqsDFXPa68jh0NjSFrDfQ0eqQtQjAaY+gWTsIr/0Y=; b=D2TKxSrkWJBUSHP7uIVyrZXFBvyua96eeOK5U4bD3Owppd7WnU0zTMoiuqcEijcL4e E+YFB40OSmDSikquWu/y+uHq/s/fz6ImyZAKa6DlbhF9CIRmHSbla5XXaxAmOyYcGD0S kjdrC2IKmT2Lwo1CGARHVLhM4jxBUjJWSehPQDeK1Tm/8VMdDBrvZh+q/5Kq4dPOix/L u7HPu0QW5Jr+5Cbfv7oqaEvfuRDI+HyVAFJYiIT7HLJ/p0dWn2g+nKHb8zXRVgoj2nol C4LSLiZeYg8X5VwCFDtqITCEU+1ftt9Eh0gS3MP2OVo/hcs3F+QKgfmuV5quXdQsuzTB eVTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=toDqsDFXPa68jh0NjSFrDfQ0eqQtQjAaY+gWTsIr/0Y=; b=bP452UhWjvPYgdqROpuX6r/gnUFKuGsKNTdPNehaKAjQqNhmPm17TV+yD1CTrmQ806 2EoIIrILRBgciNgvbhLR2SBCXkKj/e8IfHSIOKZqI7nj8SdbFe5C3xPrr1ZqrxAKs2mX KJiCoRN4eOEZ6lB2Y3aC8BsRTkAeIGRLKBbwjkfrFaaKA1qpwROB0l2/F7GlHxcs1P71 vq0lScErK/DwcqrGy9BgwSiUDcbodfePQGw9po4S2N88dHl12pRGOs0LSdQwuR6nAwLo PhbR3cfcsg7i3JrQak6MOz4XvJPEiZdqWZUil0MgZ6fDspX2gT9UjJkukUsZL6T3dbNH N8MQ== X-Gm-Message-State: APjAAAU3TU1mahSgaVwCs9zu8wdVAcdBmhoBs+kHimucwPSm+7b/Lf8r +jBzLkj4xgfN0UEarCVIXz+O+A== X-Google-Smtp-Source: APXvYqzBc9f+qrNspuNZAF8iWJQvG8o7NRxsqmXzQj42OxRRmYEDDr6ApimzZZAAs2pLSNnBMLyEgw== X-Received: by 2002:a7b:c74a:: with SMTP id w10mr29429564wmk.99.1563286925175; Tue, 16 Jul 2019 07:22:05 -0700 (PDT) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id v18sm20584194wrs.80.2019.07.16.07.22.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Jul 2019 07:22:04 -0700 (PDT) Date: Tue, 16 Jul 2019 15:22:02 +0100 From: "Leif Lindholm" To: Rebecca Cran Cc: devel@edk2.groups.io, lersek@redhat.com, bob.c.feng@intel.com, liming.gao@intel.com, michael.d.kinney@intel.com, afish@apple.com, "Zhiju.Fan" Subject: Re: [edk2-devel] [PATCH v2] edksetup.sh: Simplify SetupPython3 and SetupPython functions. Message-ID: <20190716142202.rmmufft72cdwflib@bivouac.eciton.net> References: <20190716023606.54076-1-rebecca@bsdio.com> <20190716113552.bn6du2j4j2jloymm@bivouac.eciton.net> <76a4bfb6-cc5f-4cf8-7ab2-a55ebe99b454@bsdio.com> MIME-Version: 1.0 In-Reply-To: <76a4bfb6-cc5f-4cf8-7ab2-a55ebe99b454@bsdio.com> User-Agent: NeoMutt/20170113 (1.7.2) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 16, 2019 at 08:17:44AM -0600, Rebecca Cran wrote: > > Or we could assume people have a functional python3 on the PATH and > > would like to use that? > > If python3 exists we might want to just use that. But on macOS (and > FreeBSD) it doesn't exist, and we have to choose one of the python3.* > binaries to use. OK, so the use-case is real. That is good to know. Do (either) of these systems have a "python" binary, and if so, what is that? I'll throw together an alternative patch, based on top of your 1-4/6, and send out for discussion. Best Regards, Leif