[ovs-dev] [PATCH v2 1/1] Permit to build OVS with only Python3 installed

Ben Pfaff blp at ovn.org
Tue Jul 24 23:10:55 UTC 2018


On Fri, Jun 22, 2018 at 08:04:10PM +0200, Timothy Redaelli wrote:
> This commit renames HAVE_PYTHON to HAVE_PYTHON2 and PYTHON to PYTHON2
> and adds HAVE_PYTHON and PYTHON with a different semantics:
> - If PYTHON environment variable is set, use it as PYTHON
> - If a python2 interpreter is available, PYTHON became the python2 interpreter
> - If a python3 interpreter is available, PYTHON became the python3 interpreter
> 
> PYTHON is only used to run the python scripts needed by the build system
> 
> NOTE:
> Since currently most of the utilities and bugtool doesn't support Python3,
> they're installed only if python2 is available. This will be fixed in later
> commits.
> 
> Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>

Applied to master, thanks!


More information about the dev mailing list