Page MenuHomePhabricator

[CMAKE] Migrate the python header generation scripts to python 3
ClosedPublic

Authored by Fabien on Sep 24 2019, 09:04.

Details

Summary

The shebang has already been updated, but the scripts would fail with
python3. The read() function now returns a byte array when the file is
opened in binary mode, so the ord() is no longer needed.

The CMakeLists.txt files are updated to use the correct interpreter.

Test Plan
ninja check
ninja bitcoin-bench

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable