[ovs-git] [openvswitch/ovs] 9ec533: Permit to build OVS with only Python3 installed

GitHub noreply at github.com
Tue Jul 24 23:10:54 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9ec533122fdbcfe94dd8cd8442aba7274abad9a3
      https://github.com/openvswitch/ovs/commit/9ec533122fdbcfe94dd8cd8442aba7274abad9a3
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2018-07-24 (Tue, 24 Jul 2018)

  Changed paths:
    M configure.ac
    M m4/openvswitch.m4
    M ovn/utilities/bugtool/automake.mk
    M tests/atlocal.in
    M tests/daemon-py.at
    M tests/json.at
    M tests/jsonrpc-py.at
    M tests/library.at
    M tests/ovsdb-idl.at
    M tests/ovsdb.at
    M tests/reconnect.at
    M tests/system-kmod-macros.at
    M tests/system-userspace-macros.at
    M tests/unixctl-py.at
    M tests/vlog.at
    M utilities/automake.mk
    M utilities/bugtool/automake.mk

  Log Message:
  -----------
  Permit to build OVS with only Python3 installed

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list