Page MenuHomePhabricator

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

Authored by Fabien on Tue, Sep 24, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.