use python3 only for building

Python 2 is very near end-of-life, and Python3-compatible changes to a
few scripts introduced compatibility problems with 2.7 again.  It went
unnoticed for me since my system symlinks "python" to "python3", but
it broke the build on systems where that symlink is still python2.  At
this point in time, I feel it is worth targetting modern Python and
forgetting about 2.7.
This commit is contained in:
Mike Swanson 2019-09-06 14:43:50 -07:00
parent 4845fae329
commit 6eef9be73a
31 changed files with 33 additions and 38 deletions

View file

@ -121,7 +121,7 @@ to specify a note you want to play. For example, for 'C#' in Octave -3:
Once you're done, save your changes and type this to build a new GENMIDI
for testing:
python mkgenmidi genmidi.lmp
python3 mkgenmidi genmidi.lmp
To try it out, get a source port with OPL emulation support (eg. Chocolate
Doom) and add genmidi.lmp on the command line, eg.
@ -137,8 +137,7 @@ editors instead of AT2. There's a useful script included that will do
exactly this. Specify the name of the a2i file and the name of the
desired output file, as follows:
python a2i-to-sbi snazzy.a2i snazzy.sbi
python3 a2i-to-sbi snazzy.a2i snazzy.sbi
Don't forget to update config.py to use the .sbi version of the file
instead of the .a2i version!