HomePhabricator

build: python 3 compatibility
18f05c765c80Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

build: python 3 compatibility

Ubuntu 16.04 "xenial xerus" does not come with Python 2.x by default.
It is possible to install a python-2.7 package, but this has its own
problem: no python or python2 symlink (see #7717).

This fixes the following scripts to work with python 3:

  • make check (bctest,py, bitcoin-util-test.py)
  • make translate (extract_strings_qt.py)
  • make symbols-check (symbol-check.py)
  • make security-check (security-check.py)

Explicitly call the python commands using $(PYTHON) instead
of relying on the interpreter line at the top of the scripts.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 20 2016, 17:51
deadalnixPushed on May 14 2017, 22:04
Parents
rABC29e1131c4642: Merge #7702: [qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC18f05c765c80: build: python 3 compatibility (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Mar 29 2016, 15:20